df question
Philip Hallstrom
freebsd at philip.pjkh.com
Tue Apr 19 09:39:51 PDT 2005
> Hi people
>
> I do df -h on my machine and got this RARE ouput
>
> %df -h
>
> Filesystem Size Used Avail Capacity Mounted on
> /dev/ad0s1a 7.7G 2.2G 4.9G 31% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/ad0s1d 65G 9.5G 50G 16% /usr/home
>
> %df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/ad0s1a 8122126 2328406 5143950 31% /
> devfs 1 1 0 100% /dev
> /dev/ad0s1d 68372608 9940308 52962492 16% /usr/home
>
> 50G+9.5G=60.5G but the partition size is 65G ... where are my ~5G,?
> What can i do?
Accept it :-) Or change the minimum free space on the drive. Here's the
relevant part of the tunefs manpage:
-m minfree
Specify the percentage of space held back from normal users; the
minimum free space threshold. The default value used is 8%. This value
can be set to zero, however up to a factor of three in throughput will
be lost over the performance obtained at a 10% threshold. Settings of
5% and less force space optimization to always be used which will
greatly increase the overhead for file writes. Note that 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.
I haven't checked, but I suspect the FAQ and Handbook at www.freebsd.org
have more information on this...
-philip
More information about the freebsd-questions
mailing list