Can someone help me to understand the following output:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 8.0G 7.5G 167M 98% /
udev 7.4G 8.0K 7.4G 1% /dev
tmpfs 3.0G 200K 3.0G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 7.4G 0 7.4G 0% /run/shm
I don't find any folder taking that much space in /. I assume it is being taken by temp processes but not too sure.
I am not sure why do we have the udev (7.4G) and none (7.4G)?
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.4G 8.0K 7.4G 1% /dev
tmpfs 3.0G 200K 3.0G 1% /run
none 7.4G 0 7.4G 0% /run/shm
I have checked manually du -sh /*.
Should I assume the disk is being taken by temporary filesystem? See the following output:
# du -sh /*
8.7M /bin
19M /boot
4.0K /data2
8.0K /dev
5.9M /etc
196M /home
0 /initrd.img
80M /lib
4.0K /lib64
16K /lost+found
4.0K /media
20K /mnt
4.0K /opt
du: cannot access `/proc/21550/task/21550/fd/4': No such file or directory
du: cannot access `/proc/21550/task/21550/fdinfo/4': No such file or directory
du: cannot access `/proc/21550/fd/4': No such file or directory
du: cannot access `/proc/21550/fdinfo/4': No such file or directory
0 /proc
4.6M /root
200K /run
9.4M /sbin
4.0K /selinux
4.0K /srv
0 /sys
4.0K /tmp
757M /usr
343M /var
0 /vmlinuz