df showing invalid output
Will McDonald
wmcdonald at gmail.com
Fri Aug 5 08:29:25 UTC 2005
On 05/08/05, Anish Mathew <nedumannilanish at yahoo.co.uk> wrote:
> Now du -sh /opt output
>
> 3.1G /opt
>
> This is also correct.
>
> Since du output shows used space as 3.1 GB i tried to
> copy again a file of size 2GB to /opt.. but failed
> with no space left on device.
>
> How can i solve this problem.
Have you run out of inodes in that filesystem? It's unlikely that's
the cause but worth checking with
# df -i
Generally though, when df and du are giving you differing results it's
because some process is holding open an inode even though you think
the file's moved.
http://www.google.co.uk/search?hl=en&q=du+and+df+show+different+results&meta=
Try looking for suspect processes with files open in /opt with...
# lsof | grep '/opt'
Will.
More information about the redhat-list
mailing list