From owner-freebsd-geom@FreeBSD.ORG Tue Nov 7 18:47:30 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 1B82716A4EE for ; Tue, 7 Nov 2006 18:47:30 +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 BBAFE43DA1 for ; Tue, 7 Nov 2006 18:47:23 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 11267 invoked by uid 2001); 7 Nov 2006 18:47:20 -0000 Date: Tue, 7 Nov 2006 12:47:20 -0600 From: "Rick C. Petty" To: freebsd-geom@FreeBSD.ORG Message-ID: <20061107184720.GA10865@keira.kiwi-computer.com> References: <20061106212307.GA75478@keira.kiwi-computer.com> <200611071201.kA7C1jST044243@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611071201.kA7C1jST044243@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: Tue, 07 Nov 2006 18:47:30 -0000 On Tue, Nov 07, 2006 at 01:01:45PM +0100, Oliver Fromme wrote: > > Personally, when I enter single-user mode and need to > mount any partition for writing, "fsck -p" is always the > first thing I type. It's hardcoded into my fingers (and > should be for every admin), so there's nothing to remember > either. :-) Not sure I agree 100%. This has bitten me a few times on a fileserver with terabytes of disk space. I don't want to wait for the preen to finish, although moving it to the background is a possibility... often I just want to fix /etc/fstab using vi, so it requires me to "preen" /, /usr, and /var (to prevent the annoying messages). I don't get into a habit of starting a long-running process when I'm in a hurry to get a fileserver back up. Aside from fixing the "mount -u -r /" bug, I guess I would be happy if you could preen a particular file system, e.g. "fsck -p /usr". I'm surprised no one's added this before. Also what would be nice if there was an "-a" option to specify all auto-mounted filesystems, so I could do: "fsck -ya" if I wanted. Maybe I'll look into adding these when I have time. fsck used to be an easier program before background checks were added... -- Rick C. Petty