From owner-freebsd-current Fri Mar 3 2: 9:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 855B737B595 for ; Fri, 3 Mar 2000 02:09:12 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 Mar 2000 10:08:38 +0000 (GMT) Date: Fri, 3 Mar 2000 10:08:38 +0000 From: David Malone To: Sheldon Hearn Cc: current@FreeBSD.org Subject: Re: tunefs -p doesn't work for read-write mounts Message-ID: <20000303100838.A97291@walton.maths.tcd.ie> References: <32207.952075413@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <32207.952075413@axl.ops.uunet.co.za>; from sheldonh@uunet.co.za on Fri, Mar 03, 2000 at 11:23:33AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 03, 2000 at 11:23:33AM +0200, Sheldon Hearn wrote: > Shouldn't I be able to show the current tuneables for a given filesystem? > > # tunefs -p /usr > tunefs: cannot work on read-write mounted file system Tunefs seems to have had trouble with being given filesystem names for a bit. Giving the device name works in 3.4, but not in 4.0. David. 4.0-CURRENT: 10:04:gonzo 3# df /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/ad1s1f 858367 783550 6148 99% /usr 10:04:gonzo 4# tunefs -p /usr tunefs: cannot work on read-write mounted file system 10:04:gonzo 5# tunefs -p /dev/ad1s1f tunefs: cannot open /dev/ad1s1f: Device busy 10:04:gonzo 6# tunefs -p /dev/rad1s1f tunefs: cannot open /dev/rad1s1f: Device busy 3.4-STABLE: 10:05:walton 1# df /usr Filesystem 1024-blocks Used Avail Capacity Mounted on /dev/da0s1f 762223 673236 28010 96% /usr 10:05:walton 2# tunefs -p /usr tunefs: cannot work on read-write mounted file system 10:05:walton 3# tunefs -p /dev/rda0s1f tunefs: soft updates: (-n) disabled tunefs: maximum contiguous block count: (-a) 15 tunefs: rotational delay between contiguous blocks: (-d) 0 ms tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message