From owner-freebsd-geom@FreeBSD.ORG Mon Nov 6 21:23:10 2006 Return-Path: X-Original-To: freebsd-geom@FreeBSD.ORG Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0800416A494 for ; Mon, 6 Nov 2006 21:23:10 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 70E6A43D5A for ; Mon, 6 Nov 2006 21:23:08 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 76524 invoked by uid 2001); 6 Nov 2006 21:23:07 -0000 Date: Mon, 6 Nov 2006 15:23:07 -0600 From: "Rick C. Petty" To: freebsd-geom@FreeBSD.ORG Message-ID: <20061106212307.GA75478@keira.kiwi-computer.com> References: <20061102143915.GA26008@zen.inc> <200611061149.kA6BnkOb079135@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611061149.kA6BnkOb079135@lurza.secnetix.de> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: FSCKing a RO partition X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 21:23:10 -0000 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