Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp842766ybv; Thu, 20 Feb 2020 08:15:05 -0800 (PST) X-Google-Smtp-Source: APXvYqyzZdfsrkSh+GWuuBSqGQ5iP9HrVnTCNduPFGfrkcj4Fl42bI6x+k8bL6Fhcf+KJSk7Wh22 X-Received: by 2002:aca:fd83:: with SMTP id b125mr2687250oii.1.1582215304395; Thu, 20 Feb 2020 08:15:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582215304; cv=none; d=google.com; s=arc-20160816; b=qmwDejSgIP4hbDNgsm/4zcb8Uu+KlOmfeHtP15k3y10LnpOYB6SAOvrpjCO8OJPvRo F+nKAfBKbd+p1RExZUPLLW7/Ls9yws0fAtW19p/4q85Ei3WehwwDLqLwhGKgnPpkfHCL WMb5zDY60ISpD/ifHFG5t3leW1nDAddoimlTeIuOdYgtWRBJVVMEyPAfSyx3BgM8U2Wt hHvCt4W+rx6jJbZeGRFDR6WUyj/DKC2ROb/oStFgG0IUB2fnP4o6wzs1HS9SyTUhIMeJ uFzE9KIWOyr0abEGB75f2yMvn3geHjvB62GvlKjZ+yA+1kyPHF0StEWsZ9EtqE6jQ/j4 6HIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:dkim-signature; bh=MGl3OdfXA4TS8R0GlkFWlLkZqJmjiROHulSLt+I3tyc=; b=AW6bqfrLGe3H87x5EVqiUoUv1VOoJrZVB23IIE4bSc1e6uY0ekOMizNGd/Vh7+FAWA 1/DvIDV+vtyImB4mu1CDy/El6TzPKenK2uFEppXqbhLMCj+8RuyERt2oHm72+sVhredU xFrTT6nSh9+WwGgM0+vQy4akUTC1rAhm0CSTrK7TAdAGZ8qD7PydjKbg235o9pMIVyAg kN9zoLtQA9XgNsw4G2qflzoPcDMZoVbPXbAuIil6CaPL8BfH1lZnmsWGWX6ASZzrLymp izhg64z7fmQRLGxO6RfqAXIl469UljJNWYYjW2moSxajYl2iRivkCmZG4ye8QyzfP3W4 bBSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dupond.be header.s=dkim header.b=DKaUZQbt; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dupond.be Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si1842406otn.53.2020.02.20.08.14.45; Thu, 20 Feb 2020 08:15:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@dupond.be header.s=dkim header.b=DKaUZQbt; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dupond.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728072AbgBTQO3 (ORCPT + 99 others); Thu, 20 Feb 2020 11:14:29 -0500 Received: from apollo.dupie.be ([51.15.19.225]:60396 "EHLO apollo.dupie.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbgBTQO3 (ORCPT ); Thu, 20 Feb 2020 11:14:29 -0500 Received: from [IPv6:2a00:1cf8:1200:3a80:20da:22c2:8761:2] (unknown [IPv6:2a00:1cf8:1200:3a80:20da:22c2:8761:2]) by apollo.dupie.be (Postfix) with ESMTPSA id DDB5280ABF3; Thu, 20 Feb 2020 17:14:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dupond.be; s=dkim; t=1582215268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MGl3OdfXA4TS8R0GlkFWlLkZqJmjiROHulSLt+I3tyc=; b=DKaUZQbt0TQUAySGnnjp9J7PpJfwZs/rFrLeLlHFzOHT9iulH2vG6S/BvbDMX7qEPNhY9x KiGtggr+E446h0ICNEH6y26YNOb/+GgvXU+yHwHAQ2W0BX5yP4JIwCSiar34G/Z4enWMjE Guaa2YtSkqie8Oz0R6CIsFwKaPRrRlHApAI5fYCktwWx+F1rf6UucuRDhp5w9TG93RT683 7TSgii+GSOeO2BKgkiyH9qUlDspnoTlbbAgMeicj7CHLt4mTpxMA7ae9K+Xb/lkM7p7sAx EB1WRG8XhRNqXTd//kOJaHh/8Eud0AHzcsoEHF0a60J6YxBVNeoOGhw8WSzK0g== From: Jean-Louis Dupond Subject: Re: Filesystem corruption after unreachable storage To: "Theodore Y. Ts'o" Cc: linux-ext4@vger.kernel.org References: <20200124203725.GH147870@mit.edu> <3a7bc899-31d9-51f2-1ea9-b3bef2a98913@dupond.be> <20200220155022.GA532518@mit.edu> Message-ID: <7376c09c-63e3-488f-fcf8-89c81832ef2d@dupond.be> Date: Thu, 20 Feb 2020 17:14:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200220155022.GA532518@mit.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: nl-BE Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 20/02/2020 16:50, Theodore Y. Ts'o wrote: > On Thu, Feb 20, 2020 at 10:08:44AM +0100, Jean-Louis Dupond wrote: >> dumpe2fs -> see attachment > Looking at the dumpe2fs output, it's interesting that it was "clean > with errors", without any error information being logged in the > superblock. What version of the kernel are you using? I'm guessing > it's a fairly old one? Debian 10 (Buster), with kernel 4.19.67-2+deb10u1 >> Fsck: >> # e2fsck -fy /dev/mapper/vg01-root >> e2fsck 1.44.5 (15-Dec-2018) > And that's a old version of e2fsck as well. Is this some kind of > stable/enterprise linux distro? Debian 10 indeed. >> Pass 1: Checking inodes, blocks, and sizes >> Inodes that were part of a corrupted orphan linked list found.  Fix? yes >> >> Inode 165708 was part of the orphaned inode list.  FIXED. > OK, this and the rest looks like it's relating to a file truncation or > deletion at the time of the disconnection. > > > > > On KVM for example there is a unlimited timeout (afaik) until the >>>> storage is >>>> back, and the VM just continues running after storage recovery. >>> Well, you can adjust the SCSI timeout, if you want to give that a try.... >> It has some other disadvantages? Or is it quite safe to increment the SCSI >> timeout? > It should be pretty safe. > > Can you reliably reproduce the problem by disconnecting the machine > from the SAN? Yep, can be reproduced by killing the connection to the SAN while the VM is running, and then after the scsi timeout passed, re-enabled the SAN connection. Then reset the machine, and then you need to run an fsck to have it back online. > - Ted