Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2006 15:23:07 -0600
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        freebsd-geom@FreeBSD.ORG
Subject:   Re: FSCKing a RO partition
Message-ID:  <20061106212307.GA75478@keira.kiwi-computer.com>
In-Reply-To: <200611061149.kA6BnkOb079135@lurza.secnetix.de>
References:  <20061102143915.GA26008@zen.inc> <200611061149.kA6BnkOb079135@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 06, 2006 at 12:49:46PM +0100, Oliver Fromme wrote:
>  > 
>  > I also tried with the mount command and -u -r options with the same
>  > result.
> 
> A quick workaround would be to run "fsck -p" yourself on
> the root partition before you remount it read-write.

Of course, if you mount root read/write in the process of booting
single-user to edit /etc/fstab, for instance, and you decide you want to
preen a la "fsck -p", you can't.  Even if you use "mount -u -r /", the
preen fails on the root partition and you can't quickly check the other
file systems.  This is a bug and a regression since it used to work in
4.x just fine!

Sometimes I'm often tempted to reboot and wait 10 minutes for the BIOS
to POST just because of the effort/time to manually run fsck on each
partition.  If you remember to always do "fsck -p" immediately from the
single-user prompt, you're fine.  You just have to wait until fsck
finishes with root before you mount it read-write.  How annoying!

-- Rick C. Petty



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