kern/124621: [ext3] [patch] Cannot mount ext2fs partition

Helio Loureiro helio at loureiro.eng.br
Mon Jan 12 09:00:17 PST 2009


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

From: "Helio Loureiro" <helio at loureiro.eng.br>
To: bug-followup at freebsd.org, paulf at free.fr
Cc:  
Subject: Re: kern/124621: [ext3] [patch] Cannot mount ext2fs partition
Date: Mon, 12 Jan 2009 14:34:16 -0200

 Hi,
 
 I'm facing the same issue.  I have an external HD, where I installed
 Linux Ubuntu a long time ago.  I performed recently an upgrade to
 latest Ubuntu, what reformatted partition da0s1.  Old partitions, like
 da0s2 (home), remain working fine w/ FreeBSD.
 
 I checked Inode size paramenter in both:
 
 musashi# tune2fs -l /dev/da0s1 | grep -i "inode size"
 Inode size:               256
 musashi# tune2fs -l /dev/da0s2 | grep -i "inode size"
 Inode size:               128
 
 I'm using the e2fsprogs version you recommended, 1.41.0, in a FreeBSD-7.1:
 
 musashi# pkg_glob "*e2fs*"
 e2fsprogs-1.41.0
 musashi# uname -a
 FreeBSD musashi.br.am.ericsson.se 7.1-RELEASE FreeBSD 7.1-RELEASE #23:
 Sat Jan  3 23:41:26 BRST 2009
 root at musashi.br.am.ericsson.se:/usr/obj/usr/src/sys/MUSASHI  i386
 
 
 So programs like fsck.ext3 are working fine, finding and checking filesyste=
 ms:
 
 e2fsck 1.41.0 (10-Jul-2008)
 /dev/da0s1: clean, 130703/305824 files, 796572/1220932 blocks
 musashi# /usr/local/sbin/fsck.ext3 /dev/da0s2
 e2fsck 1.41.0 (10-Jul-2008)
 /dev/da0s2: clean, 219500/12222464 files, 21270465/24414783 blocks
 
 So da0s1 isn't accessible while da0s2 is:
 
 musashi# mkdir /mnt/da0s{1,2}
 musashi# mount_ext2fs /dev/da0s1 /mnt/da0s1
 musashi# mount_ext2fs /dev/da0s2 /mnt/da0s2
 musashi# ls /mnt/da0s1
 ls: /mnt/da0s1: Bad file descriptor
 musashi# ls /mnt/da0s2
 backup          fotos           helio           lost+found      tmp
          x
 
 I even tried to unload/load ext2fs.ko module, but I didn't see any
 progress on that.
 
 So I believe the issue is reproducible and remains despite the new
 e2fsprogs release.
 
 I'll try the suggested patch and see if it works.
 --=20
 []=B4s
 Helio Loureiro


More information about the freebsd-fs mailing list