Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 10:08:38 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        current@FreeBSD.org
Subject:   Re: tunefs -p doesn't work for read-write mounts
Message-ID:  <20000303100838.A97291@walton.maths.tcd.ie>
In-Reply-To: <32207.952075413@axl.ops.uunet.co.za>; from sheldonh@uunet.co.za on Fri, Mar 03, 2000 at 11:23:33AM %2B0200
References:  <32207.952075413@axl.ops.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000303100838.A97291>