Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756607Ab0G2OM0 (ORCPT ); Thu, 29 Jul 2010 10:12:26 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:63857 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412Ab0G2OMZ (ORCPT ); Thu, 29 Jul 2010 10:12:25 -0400 Message-ID: <4C518C4D.6050607@vlnb.net> Date: Thu, 29 Jul 2010 18:12:29 +0400 From: Vladislav Bolkhovitin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 MIME-Version: 1.0 To: Christoph Hellwig CC: "Ted Ts'o" , Tejun Heo , Vivek Goyal , Jan Kara , jaxboe@fusionio.com, James.Bottomley@suse.de, linux-fsdevel@vger.kernel.org, linux-scsi@vger.kernel.org, chris.mason@oracle.com, swhiteho@redhat.com, konishi.ryusuke@lab.ntt.co.jp, linux-kernel@vger.kernel.org, kernel-bugs@lists.ubuntu.com Subject: Re: extfs reliability References: <20100728082447.GA7668@lst.de> <4C4FECFE.9040509@kernel.org> <20100728085048.GA8884@lst.de> <4C4FF136.5000205@kernel.org> <20100728090025.GA9252@lst.de> <4C4FF592.9090800@kernel.org> <20100728092859.GA11096@lst.de> <20100729014431.GD4506@thunk.org> <20100729083142.GA30077@lst.de> <4C517B5A.3020905@vlnb.net> <20100729130852.GA11852@lst.de> In-Reply-To: <20100729130852.GA11852@lst.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:rlnj/ldwaorRgvuJGx2uHvkAHJ38pFIFLDLUXTD8QuM hqIxxncCq0OIW91Iz+mBPDuLXgQa15bN1ErllbYiTezdKVsyRj jBjzP2gsaZMQoSLe7UE3HMtIxN2oGGE2Ese7nRSGSqgfKoxd1L gmlQnwMwhPQtHibMiGu1eszalpfDtqr4Xuxiz2gyajjCDwznRw c9T2zS+BH282eqNHNKScw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2717 Lines: 65 Christoph Hellwig, on 07/29/2010 05:08 PM wrote: > On Thu, Jul 29, 2010 at 05:00:10PM +0400, Vladislav Bolkhovitin wrote: >> You can find full kernel logs starting from iSCSI load in the attachments. >> >> I already reported such issues some time ago, but my reports were not too much welcomed, so I gave up. Anyway, anybody can easily do my tests at any time. They don't need any special hardware, just 2 Linux boxes: one for iSCSI target and one for iSCSI initiator (the test box itself). But they are generic for other transports as well. You can see there's nothing iSCSI specific in the traces. > > I was only talking about ext3. Yes, now ext3 is a lot more reliable. The only how I was able to confuse it was: ... (2197) nb_write: handle 4272 was not open size=65475 ofs=0 (2199) nb_write: handle 4272 was not open size=65475 ofs=65534 (2201) nb_write: handle 4272 was not open size=65475 ofs=131068 (2203) nb_write: handle 4272 was not open size=65475 ofs=196602 (2205) nb_write: handle 4272 was not open size=65475 ofs=262136^C ^C root@ini:/mnt/dbench-mod# ^C root@ini:/mnt/dbench-mod# ^C root@ini:/mnt/dbench-mod# cd root@ini:~# umount /mnt <- recover device root@ini:~# mount -t ext3 -o barrier=1 /dev/sdb /mnt mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Kernel log: "Jul 29 22:05:32 ini kernel: [ 2905.423092] JBD: recovery failed" root@ini:~# mount -t ext3 -o barrier=1 /dev/sdb /mnt root@ini:~# Kernel log: Jul 29 22:05:54 ini kernel: [ 2927.832893] kjournald starting. Commit interval 5 seconds Jul 29 22:05:54 ini kernel: [ 2927.833430] EXT3 FS on sdb, internal journal Jul 29 22:05:54 ini kernel: [ 2927.833499] EXT3-fs: sdb: 1 orphan inode deleted Jul 29 22:05:54 ini kernel: [ 2927.833503] EXT3-fs: recovery complete. Jul 29 22:05:54 ini kernel: [ 2927.838122] EXT3-fs: mounted filesystem with ordered data mode. But it still remained consistent: root@ini:~# umount /mnt root@ini:~# e2fsck -f -y /dev/sdb e2fsck 1.41.11 (14-Mar-2010) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sdb: 3504/320000 files (21.1% non-contiguous), 307034/1280000 blocks Good progress since my original reports for kernels around 2.6.27! Vlad -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/