  | |  | df showing invalid output | df showing invalid output 2005-08-05 - By Will McDonald
Back On 05/08/05, Anish Mathew <nedumannilanish@(protected)> 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@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |