df question

Andrew Heyn aheyn at lifestylecomm.com
Tue Apr 19 09:39:52 PDT 2005



-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Osmany Guirola
Cruz
Sent: Tuesday, April 19, 2005 5:37 AM
To: freebsd-questions at freebsd.org
Subject: df question


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?
Thanks
Osmany



-----

Hi,

That output is far from rare!

Type man tunefs and type "/-m" without the quotes, and then hit "n" without
the quotes.
Read that section carefully.  Also, some space is used in any file system
for storage of
data about the data (metadata).  Inodes, superblocks, etc all take up space.
Reading man tuning may also shed some light on this supposedly "lost" space.

Thanks,
Andrew



More information about the freebsd-questions mailing list