0

I am on Google Cloud Linux CENTOS 7 Guest. I'm running out of disk! How is this possible? I don't use 25% what they say I do? (it looks about ~10Gb)

# du --max-depth=1 --human-readable / | sort --human-numeric-sort
0       /dev
0       /media
0       /mnt
0       /opt
0       /proc
0       /root
0       /srv
0       /sys
4.0K    /tmp
14M     /home
18M     /etc
145M    /boot
193M    /run
1.5G    /usr
3.7G    /var
5.5G    /

yet df is showing 41G used.. where is the extra 30Gb??

# df-H
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        43G   41G  2.4G  95% /
devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           1.9G  202M  1.7G  11% /run
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs           372M     0  372M   0% /run/user/1000
  • Did you try running du as sudo like this? du du --max-depth=1 --human-readable / | sort --human-numeric-sort – JakeGould Jul 2 '18 at 21:15
  • Why are you using --max-depth=1? That's only 1 directory level under / – DavidPostill Jul 2 '18 at 21:18
  • Try using du -ah / – DavidPostill Jul 2 '18 at 21:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.