Package: coreutils
Version: 5.2.1-2

df reports incorrect Available and Use% values. Look at /dev/hdf below
total-used is 153837436-151277016=2560420 but it reports 0 (zero) as
Available and 100% Use. I estimate that Available and Use% are about 8%
ahead, that is these reports the disk to be full when there in fact are
about 8% free space. It is however possible to fill the disc to it's
capacity and I have noted no other problems.
 
# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdf             153837436 151277016         0 100% /data/film1
 
# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdf              147G  145G     0 100% /data/film1

# cat /etc/fstab 
/dev/hdf        /data/film1     ext3    defaults,errors=remount-ro 0
1  

I suggest that Avail=Size-Used and that Use%=Used/Size.

This is on a quite ordinary DELL 350MHz PC with an extra noname
controller wich may play a part. I have not been able to nvestigate
that. It is running Debian Linux Version 2.4.26-1-386.

P.S. <not part of bug report>
This is my first report. I hope it has not been reported before, I'v
looked the best I could and find nothing. I am sorry for the
inconvenience if I am wrong.


Reply via email to