From owner-freebsd-questions@FreeBSD.ORG Tue Aug 26 21:09:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2988D106570F for ; Tue, 26 Aug 2008 21:09:50 +0000 (UTC) (envelope-from chris@smartt.com) Received: from barium.smartt.com (barium.smartt.com [69.67.187.30]) by mx1.freebsd.org (Postfix) with ESMTP id F14DA8FC08 for ; Tue, 26 Aug 2008 21:09:49 +0000 (UTC) (envelope-from chris@smartt.com) Received: from [69.31.174.220] (unknown [69.31.174.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by barium.smartt.com (Postfix) with ESMTPS id D699010E480; Tue, 26 Aug 2008 14:09:39 -0700 (PDT) Message-ID: <48B4711D.5060408@smartt.com> Date: Tue, 26 Aug 2008 14:09:49 -0700 From: Chris St Denis User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: =?UTF-8?B?QXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB4KSV4KWN4KSy?= References: <864p57o5zp.fsf@chateau.d.lf> In-Reply-To: <864p57o5zp.fsf@chateau.d.lf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Issues while trying to access an Ext3 partition successfully mounted on FreeBSD 7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 21:09:50 -0000 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.