6.2 newfs/tunefs minfree

Richard Tector richardtector at thekeelecentre.com
Sun May 6 21:08:16 UTC 2007


On 6.2-STABLE,

newfs(8) manpage reports:

      -o optimization
[..snip..]
If the value of min-free (see above) is less than 8%, the default is to 
optimize for space; if the value of minfree is greater than or equal to 
8%, the default is to optimize for time.


However, tunefs(8) manpage reports:
      -m minfree
              Specify the percentage of space held back from normal 
users; the minimum free space threshold.  The default value used is 8%. 
Note that lowering the threshold can adversely affect performance:

o   Settings of 5% and less force space optimization to always be used 
which will greatly increase the overhead for file writes.


Am I correct in assuming therefore that if min-free is set to less than 
8% but optimization is set to time, the time method will still be used 
until the free space on the fs reaches 5% at which point it will force 
the 'space' method to be used?

Or, is this a mixup in the documentation?

Or, am I just reading it wrong?

Regards,

Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2709 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070506/39464c35/smime.bin


More information about the freebsd-stable mailing list