So df
is telling me that I'm using 49/59G, so I set out to find my space.
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 59G 49G 7.9G 86% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 396M 340K 396M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 0 1.0M 0% /tmp
```
I first tried du
5.1G .
2.3G ./var
1.3G ./usr
973M ./var/log
834M ./lib
736M ./lib/modules
713M ./var/lib
600M ./root
592M ./var/log/nginx
456M ./var/www
Now, I'm no math major, but I'm pretty sure that's not 49G.
I tried ncdu
, and that's telling i'm using 5GB / 128GB
du --apparent-size
for us? ("although the apparent size is usually smaller, it may be larger due to holes in ('sparse') files, internal fragmentation, indirect blocks, and the like") – Ulrich Schwarz Aug 24 '15 at 15:41129T . 128T ./proc 2.3G ./var 1.1G ./usr 980M ./var/log 800M ./lib 704M ./lib/modules 703M ./var/lib 599M ./root 595M ./var/log/nginx
– blockhead Aug 24 '15 at 16:42