Skip to main content

Thread: DIsk Usage Question; I'm missing something


this stupid overlooking, can't quite seem find , have not found answer online. possibly suck @ searching. when testing script display disk usage found numbers /home don't add up. seem missing 5gb somewhere:

root@localhost:~# du -sh /home/*
16k /home/lost+found
9.3g /home/user

on 9.3gb total /home, when run df-h shows 14g being used.

root@localhost:~# df -h
filesystem size used avail use% mounted on
[irrelevant info deleted]
/dev/sda3 280g 14g 252g 6% /home

big discrepancy such small amount of data in home directory. sure overlooking silly, can't seem figure out is. there plenty of free space not issue , won't time, trying figure out missing. file system ext4.

have ideas?

quote posted husker rat view post
[...]
when testing script display disk usage found numbers /home don't add up. seem missing 5gb somewhere:
[...]
big discrepancy such small amount of data in home directory. sure overlooking silly, can't seem figure out is. there plenty of free space not issue , won't time, trying figure out missing. file system ext4.

have ideas?
speaking in broad terms df , du rely on different information determine filesystem's disk usage, , there's not worry regarding situation.
use du measure disk usage, , df when need quick @ free/used whole disk usage. here quote article (the link @ bottom):

summation: du better tool use if interested in knowing how space being used on filesystem "right now." df great "ballpark estimates" , preferred if need know how big df thinks filesystem (so agree other incorrect system statistics).
full article:

http://linuxshellaccount.blogspot.co...nt-values.html


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] DIsk Usage Question; I'm missing something


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues