Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3671783ybv; Tue, 25 Feb 2020 05:23:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwF1TNCR5zmZShWC8LjACdvMldf0KW1Dzj3FgzMijcMWnTqlN41ZkK/PnnEEeRnJv6kg1/N X-Received: by 2002:a9d:48d:: with SMTP id 13mr41966929otm.249.1582637014234; Tue, 25 Feb 2020 05:23:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582637014; cv=none; d=google.com; s=arc-20160816; b=xFYjh4iEm7/JXJc10tC8PrtYRLjCaNx80K4Vw25RCKZuDy8GJk6w1shOvEqAnxLUF/ HWxsPcpiWDBl81uDIDZrZGIDZvErTOSe8WdJLwC0Pya9ANjf1mB3T/NTxih+VZKWTNbR V5zIzFOEvxlBGB/0qdOa/Qjuf8vrXoPGYamTaEqofyAjDqeOS0CIx5S+3TXPw6MTdjdz 7SROV6ocgNB+xzFRMXmJBJs7nDreqZVptowbG6axVNOSJEfs2OobsdbApy5xgxBPcVJc I28/lGbaHBGeYjAZO2+NtD2PtHzMdf/eiRvDDKgYcipvaKYAfi5z9A8JGaaqyU3Z3M0Z 7Hjg== 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:from:subject:dkim-signature; bh=oiaT6grkcrVKG+eCFYwNFETk5vroLG4d3H4bch6WW5A=; b=QbszD/lbBayCQjQXk/n4CIXUEeWpBQTRnHcCjJNq649KxKfgKIJMZMyavx7X1Hn2nd p39SdWOvy+P+ivzZRzHdbd10ve7bAHZ17WVu1oiHh7opbY6k/oygs/A/mqDKLKs23smk PhbRGhunno85j1d30LQW2aR/zS/x5zANPEh6CsossgUUO4x0dR9ePhm1BPIEglE9Pubc WUCO++LN4UEY2+hLjwLaWBnCgBkp2y7DSnVjwwnfIyISNubd9IGo87U8FAjNHvERz0iZ 1scp7LDbm87z0Cht3NNSdkbuYadGqe+UWh+3o5T5gq9HzO+cg9wgos+FWdjprydaYQEl CL/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dupond.be header.s=dkim header.b=ktjayhjY; 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 s64si6767362oig.147.2020.02.25.05.23.08; Tue, 25 Feb 2020 05:23:34 -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=ktjayhjY; 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 S1729287AbgBYNTJ (ORCPT + 99 others); Tue, 25 Feb 2020 08:19:09 -0500 Received: from apollo.dupie.be ([51.15.19.225]:37696 "EHLO apollo.dupie.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728981AbgBYNTJ (ORCPT ); Tue, 25 Feb 2020 08:19:09 -0500 Received: from [10.10.1.141] (systeembeheer.combell.com [217.21.177.69]) by apollo.dupie.be (Postfix) with ESMTPSA id C97EE80A9BA; Tue, 25 Feb 2020 14:19:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dupond.be; s=dkim; t=1582636747; 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=oiaT6grkcrVKG+eCFYwNFETk5vroLG4d3H4bch6WW5A=; b=ktjayhjYGT7XHWbW3efFTdcYhpQ3zvo0frsxnWmRIwqDJVTQSIhZajHpeq93sEiQ5sgGvj Rb2EW2IWtXonRMrAqKwiWfhd/YSC529zG3/4nRAM48GHNwSn8xQolP6tB0Q/+sKtFKrOP6 wpfgKQAiXaiWTilcb/HlwQqzBxjlmV5lbojcfJRI/L0MPYNY7Gu9kU30Sbv1ghJMZ9MJLm V8v6qDBUQPRQbdCUhbzxQFm0x+JHYdwATFBFJKg1h0G2noMJQkn3ab/luWkPFBzX2Ko3U6 /pEoV6jtbOMcZxQceOH/hn3URcV0B80JI1ApSbx7oqzKn8RTVcRa7ggrv/N+lg== Subject: Re: Filesystem corruption after unreachable storage From: Jean-Louis Dupond 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> <7376c09c-63e3-488f-fcf8-89c81832ef2d@dupond.be> Message-ID: Date: Tue, 25 Feb 2020 14:19:09 +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: <7376c09c-63e3-488f-fcf8-89c81832ef2d@dupond.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org FYI, Just did same test with e2fsprogs 1.45.5 (from buster backports) and kernel 5.4.13-1~bpo10+1. And having exactly the same issue. The VM needs a manual fsck after storage outage. Don't know if its useful to test with 5.5 or 5.6? But it seems like the issue still exists. Thanks Jean-Louis On 20/02/2020 17:14, Jean-Louis Dupond wrote: > > 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