Re: df showing invalid output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/08/05, Anish Mathew <nedumannilanish@xxxxxxxxxxx> 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.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux