Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 14:09:49 -0700
From:      Chris St Denis <chris@smartt.com>
To:        =?UTF-8?B?QXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB4KSV4KWN4KSy?= <wahjava.ml@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7
Message-ID:  <48B4711D.5060408@smartt.com>
In-Reply-To: <864p57o5zp.fsf@chateau.d.lf>
References:  <864p57o5zp.fsf@chateau.d.lf>

next in thread | previous in thread | raw e-mail | index | archive | help
Ashish Shukla आशीष शुक्ल wrote:
> Hi,
>
> I'm running FreeBSD 7.0-RELEASE-p3 (amd64). I've two ext3 partitions
> on my disk which I want to be able to access (read-only) from my
> FreeBSD installation. But I can only access one of them (with no
> issues), though I'm able to mount both of them fine in my FreeBSD and
> GNU/Linux. Those filesystems are fsck-ed regularly after every n
> mounts. I'm experiencing this since I installed GNU/Linux on that
> partition.
>
> ----8<----8<----
> % fgrep gentoo-root /etc/fstab
> /dev/ad6s2              /mnt/gentoo-root    ext2fs  ro,noauto       0       0
> % sudo mount /mnt/gentoo-root
> % mount |fgrep gentoo
> /dev/ad6s2 on /mnt/gentoo-root (ext2fs, local, read-only)
> % ls -l /mnt/gentoo-root
> ls: /mnt/gentoo-root: Bad file descriptor
> % sudo umount /mnt/gentoo-root
> % ls -ld /mnt/gentoo-root
> drwxr-xr-x  2 root  wheel  512 Jun  8 23:24 /mnt/gentoo-root
> ---->8---->8----
>
> There are no errors (or messages) reported in dmesg. Any ideas how to
> troubleshoot this ? I don't want to degrade my filesystem from ext3 to
> ext2.
>
> Thanks
> Ashish Shukla
>   
I had a problem like this trying to mount ext2. The problem was it 
needed to be fscked (unclean shutdown). You'll need to install 
ports/sysutils/e2fsprogs to fsck it under FreeBSD.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B4711D.5060408>