Re: Minus on disk:-)



On Wed, 2007-03-21 at 21:11 +0100, Anders Troback wrote:
Disk status:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad8s2a 253678 124556 108828 53% /
devfs 1 1 0 100% /dev
/dev/ad8s2g 35796214 16027612 16904906 49% /home
/dev/ad8s2e 1012974 -6 931944 -0% /tmp
/dev/ad8s2f 20308398 15124786 3558942 81% /usr
/dev/ad8s2d 1012974 258006 673932 28% /var

Hi,

I'm just curious about this! How can a FS have used -6 bytes?

By default, 8% of capacity is reserved for UID0 (root) and is not
represented in df(1). Read tunefs(8):

-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 perfor-
mance:

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

o The file system's ability to avoid fragmentation will be
reduced when the total free space, including the reserve,
drops below 15%. As free space approaches zero, throughput
can degrade by up to a factor of three over the performance
obtained at a 10% threshold.

If the value is raised above the current usage level, users will
be unable to allocate files until enough files have been deleted
to get under the higher threshold.

Try this in fstab(5):

md /tmp mfs rw,-s64m,-m0 2 0

~BAS


As I said this is not a problem, I'm just curios about how things work
(and can someone please tell me how to make that a -100 Gb:-))

Thanks!

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Minus on disk:-)
    ... Filesystem 1K-blocks Used Avail Capacity Mounted on ... the minimum free space threshold. ... Note that lowering the threshold can adversely affect perfor- ... will be reduced when the total free space, including the reserve, ...
    (freebsd-questions)
  • RE: How can I setup a an free disk space alarm...HELP!!!
    ... the disk space of all disk drives within managed computers. ... and red states for state monitoring of disk free space. ... You can modify the threshold values that the event rule uses to trigger ...
    (microsoft.public.windows.server.general)
  • Re: does not understand "df -H"
    ... there should be more disk space available based on what is shown. ... Note that lowering the threshold can adversely affect perfor- ... reduced when the total free space, including the reserve, ... Your df output suggests your minfree is set to the default 8%; ...
    (freebsd-questions)
  • Re: Reserving space in ext2 or ext3 for a big file.
    ... and I need reserve space before the file generation finishs. ... Do not create any other files in that partition. ... the first software check the free space with DF command, ...
    (comp.os.linux.misc)
  • Re: Strange DF output
    ... So that no other users can completely fill up the disk, or even when they think they did, technically there is still some more free space left for root. ... This RESERVE could very well be your "missing" percentage of disk space. ...
    (comp.unix.bsd.freebsd.misc)