Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Mar 2000 11:14:49 +0000
From:      Peter Edwards <peter.edwards@openet-telecom.com>
Cc:        Sheldon Hearn <sheldonh@uunet.co.za>, current@FreeBSD.ORG
Subject:   Re: tunefs -p doesn't work for read-write mounts
Message-ID:  <38BF9EA8.F89B7CFF@openet-telecom.com>
References:  <32207.952075413@axl.ops.uunet.co.za> <20000303100838.A97291@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
I just send-pr'ed a patch for this: misc/17143

David Malone wrote:
> 
> 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


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?38BF9EA8.F89B7CFF>