From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 16:39:21 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 CCA9C1065676 for ; Mon, 8 Dec 2008 16:39:21 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id A56FA8FC13 for ; Mon, 8 Dec 2008 16:39:21 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 22730 invoked from network); 8 Dec 2008 16:39:20 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 8 Dec 2008 16:39:20 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2370E50825; Mon, 8 Dec 2008 11:39:19 -0500 (EST) To: lhecking@users.sourceforge.net References: <20081206131320.4BE834E625@cork.irdesign.cypress.com> From: Lowell Gilbert Date: Mon, 08 Dec 2008 11:39:18 -0500 In-Reply-To: <20081206131320.4BE834E625@cork.irdesign.cypress.com> (lhecking@users.sourceforge.net's message of "Sat\, 6 Dec 2008 13\:13\:20 +0000 \(GMT\)") Message-ID: <44skoybozt.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Disappearing mount point X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 16:39:21 -0000 lhecking@users.sourceforge.net writes: > I have a really weird problem. After changing the mount point of a Linux > ext3 fs to a different device, the mount point disappears after mounting > and is inaccessible. > > Disk layout: > ad4s1 Linux ext3 > ad4s2 FreeBSD > ad4s3 Linux ext3 > ad4s4 ext > ad4s5 Linux swap > ad4s6 Linux ext3 > ad4s7 Linux ext3 > ad4s8 Linux ext3 > > Mounting ad4s7 under FreeBSD as > > /dev/ad4s7 /gentoo-portage ext2fs rw 0 0 > > Then I moved this data to ad4s8 and changed the fstab entry accordingly: > > /dev/ad4s8 /gentoo-portage ext2fs rw 0 0 > > And this happens: > > [root@jeanie ~]# cd / > [root@jeanie /]# ls > .cshrc cdrom etc mnt tmp > .profile compat gentoo-portage proc usr > .snap dev home rescue var > COPYRIGHT dist lib root > bin distfiles libexec sbin > boot entropy media sys > [root@jeanie /]# mount /gentoo-portage > [root@jeanie /]# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad4s2a 1012974 345748 586190 37% / > devfs 1 1 0 100% /dev > /dev/ad4s2f 1010964 22324 907764 2% /home > /dev/ad4s2d 4058062 38 3733380 0% /tmp > /dev/ad4s2e 20308398 6763976 11919752 36% /usr > procfs 4 4 0 100% /proc > linprocfs 4 4 0 100% /usr/compat/linux/proc > /dev/ad4s8 9929540 4505212 4923908 48% /gentoo-portage > [root@jeanie /]# ls > ls: gentoo-portage: Bad file descriptor > .cshrc bin dev etc media root usr > .profile boot dist home mnt sbin var > .snap cdrom distfiles lib proc sys z > COPYRIGHT compat entropy libexec rescue tmp > [root@jeanie /]# uname -a > FreeBSD jeanie.my.domain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Sep 1 09:14:51 IST 2008 root@jeanie.my.domain:/usr/obj/usr/src/sys/JEANIE i386 > > I changed the filesystem on /dev/ad4s8 to ext2, but the problem persists. > No idea what's going on :-/ Did you try an fsck on ad4s8? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/