From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 17:00:17 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10610106566B for ; Mon, 12 Jan 2009 17:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE9E08FC32 for ; Mon, 12 Jan 2009 17:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CH0GGj060143 for ; Mon, 12 Jan 2009 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0CH0Gs1060137; Mon, 12 Jan 2009 17:00:16 GMT (envelope-from gnats) Date: Mon, 12 Jan 2009 17:00:16 GMT Message-Id: <200901121700.n0CH0Gs1060137@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: "Helio Loureiro" Cc: Subject: Re: kern/124621: [ext3] [patch] Cannot mount ext2fs partition X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helio Loureiro List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 17:00:17 -0000 The following reply was made to PR kern/124621; it has been noted by GNATS. From: "Helio Loureiro" To: bug-followup@freebsd.org, paulf@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@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