From owner-freebsd-questions@FreeBSD.ORG Wed Jun 22 12:06:17 2011 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 68EC2106567F for ; Wed, 22 Jun 2011 12:06:17 +0000 (UTC) (envelope-from Traiano.Welcome@mtnbusiness.co.za) Received: from smtprelay01.ops.mtnbusiness.co.za (smtprelay01.ops.mtnbusiness.co.za [41.181.93.235]) by mx1.freebsd.org (Postfix) with ESMTP id EA8808FC23 for ; Wed, 22 Jun 2011 12:06:16 +0000 (UTC) Received: from [196.30.97.135] (helo=CPT-EXCH01.int.mtnbusiness.net) by smtprelay01.ops.mtnbusiness.co.za with esmtp (ULTRA Special SMTP Internal Alpha) (envelope-from ) id 1QZMC9-000IcX-Fh; Wed, 22 Jun 2011 14:06:09 +0200 Received: from CPT-EXCH01.int.mtnbusiness.net ([196.30.97.135]) by CPT-EXCH01.int.mtnbusiness.net ([196.30.97.135]) with mapi id 14.01.0218.012; Wed, 22 Jun 2011 14:06:06 +0200 From: Traiano Welcome To: Robert Bonomi , "freebsd-questions@freebsd.org" Thread-Topic: 'mount -u' stumper Thread-Index: AQHMMNICthrpXiE/RkOdg5orMzdyt5TJR28C Date: Wed, 22 Jun 2011 12:06:05 +0000 Message-ID: References: <201106221145.p5MBjRwb057115@mail.r-bonomi.com> In-Reply-To: <201106221145.p5MBjRwb057115@mail.r-bonomi.com> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [196.30.72.139] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: 'mount -u' stumper X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2011 12:06:17 -0000 =0A= This seems pertinent:=0A= =0A= ----=0A= 11.12.2 Soft Updates=0A= =0A= The tunefs(8) program can be used to fine-tune a file system. This program = has many different options, but for now we are only concerned with toggling= Soft Updates on and off, which is done by:=0A= =0A= # tunefs -n enable /filesystem=0A= # tunefs -n disable /filesystem=0A= =0A= ---> A filesystem cannot be modified with tunefs(8) while it is mounted. A = good time to enable Soft Updates is before any partitions have been mounted= , in single-user mode.=0A= ---=0A= =0A= From:=0A= =0A= http://docs.freebsd.org/doc/7.2-RELEASE/usr/share/doc/handbook/configtuning= -disk.html=0A= =0A= Looks like you're flat out of luck :-)=0A= =0A= Cheers,=0A= Traiano=0A= =0A= =0A= ________________________________________=0A= From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.= org] on behalf of Robert Bonomi [bonomi@mail.r-bonomi.com]=0A= Sent: Wednesday, June 22, 2011 1:45 PM=0A= To: freebsd-questions@freebsd.org=0A= Subject: 'mount -u' stumper=0A= =0A= Environment is FreeBSD 7.2 i386=0A= =0A= I have a Berkeley FFS filesystem that is mounted ro at boot time.=0A= =0A= If I do a 'mount -u' to make it writable, it _is_ made writable, but=0A= "soft-updates' is also set. Incidentally, does anybody know _where_=0A= the 'soft-updates' optioon is documented?? I've looked evereywhere I=0A= can think of, brute-force grepped wholee sections of the /usr/share/man=0A= directory tree, all without succeess.=0A= =0A= If I use 'mount -u -r' to return it to the readonly state, 'soft-updates' i= s=0A= *still* set.=0A= =0A= _HOW_ do I make'soft-updates' go away on a mounted filesystem ??=0A= =0A= 'umount' and then 'mount' does the trick, but it is no a viable production'= =0A= option.=0A= =0A= THe underlying situation -- the need to make the filesystem writable -- com= es=0A= up only rarely, and it doesn't seem to hurt anything if the filesystem is= =0A= left with soft-updates set, but I _would_ like to clear it, because it *is*= =0A= logically inconsistant with the read-only status of the filesystem.=0A= =0A= Anybody got a bright idea I haven't thought of?=0A= =0A= =0A= =0A= _______________________________________________=0A= freebsd-questions@freebsd.org mailing list=0A= http://lists.freebsd.org/mailman/listinfo/freebsd-questions=0A= To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "=0A=