From owner-freebsd-current Sun Mar 18 14:11:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from acampi.inet.it (acampi.inet.it [213.92.4.194]) by hub.freebsd.org (Postfix) with SMTP id 423B237B71B for ; Sun, 18 Mar 2001 14:11:29 -0800 (PST) (envelope-from andrea@webcom.it) Received: (qmail 11537 invoked from network); 18 Mar 2001 23:10:26 -0000 Received: from unknown (HELO webcom.it) (212.34.222.47) by acampi.inet.it with SMTP; 18 Mar 2001 23:10:26 -0000 Received: (qmail 4235 invoked by uid 1000); 18 Mar 2001 22:08:04 -0000 Date: Sun, 18 Mar 2001 23:08:04 +0100 From: Andrea Campi To: Dag-Erling Smorgrav Cc: Thomas , current@FreeBSD.ORG Subject: Re: growfs Message-ID: <20010318230804.A4160@webcom.it> References: <20010311141337.A510@webcom.it> <20010317110034.62878@Netz-Werker.NET> <20010318165749.A725@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Sun, Mar 18, 2001 at 10:41:20PM +0100 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 18, 2001 at 10:41:20PM +0100, Dag-Erling Smorgrav wrote: > Andrea Campi writes: > > Sorry? In single user with a readonly / and nothing else? I would have to be > > EXTREMELY unlucky to get any other access while the fs is inconsistent ;-) > > Just because you dropped to single-user mode (from multi-user, as I > recall from your previous mail) doesn't mean your / is ro. Evn if you > forced it back to read-only mode (using 'mount -ur /'), it may still > have been inconsistent. The only way to get a consistent, read-only > file system is to unmount it completely, then remount it read-only; in > the case of /, this means *rebooting* into single-user mode. I didn't state it explicitely but yes, I dropped to single user from multi user, remounted / to ro, fsck'ed it. I only did this because I must confess I've never done that on FreeBSD and couldn't find a nicer way then sticking boot_single="YES" in /boot/loader.conf... Any pointer anybody (private email)? Anyway, that was not my point. If I reboot into single-user, and am thus sure to have the / fs in a clean, consistent state, should I expect growfs to work in a safe way? If so, we should document it. Bye, Ansrea -- Yes, I've heard of "decaf." What's your point? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message