I have a disk size of 1TB. But when I do du -hx . on one of the folders it shows 1.4TB. and df -k . shows 60% full.
I dont understand why is the size shown greater that disk size itself.
Thanks, Mihir
I have a disk size of 1TB. But when I do du -hx . on one of the folders it shows 1.4TB. and df -k . shows 60% full.
I dont understand why is the size shown greater that disk size itself.
Thanks, Mihir
There are three possible reasons:
your du implementation does not check hard linked files only once
the filesystem does not report the space used by files correctly with the stat() syscall
The filesystem is NFS and the fileserver is running HP-UX