kern/104133: [ext2fs] EXT2FS module corrupts EXT2/3 filesystems

Bjoern Voigt bjoern at cs.tu-berlin.de
Tue Jan 20 11:50:08 PST 2009


The following reply was made to PR kern/104133; it has been noted by GNATS.

From: Bjoern Voigt <bjoern at cs.tu-berlin.de>
To: vwe at FreeBSD.org
Cc:  
Subject: Re: kern/104133: [ext2fs] EXT2FS module corrupts EXT2/3 filesystems
Date: Tue, 20 Jan 2009 18:35:45 +0100

 No, my system is a i386 system (AMD Athlon(tm) XP 1900+). I tried the 
 suggested patch
 
 http://lists.freebsd.org/pipermail/freebsd-fs/2009-January/005546.html
 
 together with FreeBSD 7.1. Unfortunately I also had to apply the patch
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=124621
 
 because I recently formatted my ext3 partitions with a nonstandard inode 
 size (128 Byte) and mounting in FreeBSD is also possible with this 
 patch. I worked some hours with the patched FreeBSD 7.1 system.
 
 Unfortunately the patched system also corrupted my system. During e2fsck 
 run I found 626 lines of the form
 
 e2fsck 1.41.1 (01-Sep-2008)
 Pass 1: Checking inodes, blocks, and sizes
 Inode 3457228, i_blocks is 8, should be 16.  Fix<y>? yes
 [...]
 Inode 3457081, i_blocks is 16, should be 24.  Fix<y>? yes
 Inode 3457098, i_blocks is 8, should be 16.  Fix<y>? yes
 [...]
 Inode 3458451, i_blocks is 72, should be 80.  Fix<y>? yes
 [...]
 Inode 3458672, i_blocks is 32, should be 40.  Fix<y>? yes
 Inode 3458977, i_blocks is 8, should be 16.  Fix<y>? yes
 
 So, I could not see, that the suggested patch fixes the problems.
 
 --
 Björn
 


More information about the freebsd-bugs mailing list