Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7

Chris St Denis chris at
Tue Aug 26 21:09:50 UTC 2008

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.

More information about the freebsd-questions mailing list