The SystemAn instance running on Amazon EC2It is an m1.large EC2 instanceThe instance is running Ubuntu Server 12.04 LTSHere's What Happens...To begin, let's execute the following:root@host:~# df -hFilesystem      Size  Used Avail Use% Mounted on/dev/xvda1      9.9G  6.6G  2.8G  71% /udev            3.7G  8.0K  3.7G   1% /devtmpfs           746M  184K  745M   1% /runnone            5.0M     0  5.0M   0% /run/locknone            3.7G     0  3.7G   0% /run/shm/dev/xvdb       414G  199M  393G   1% /mntThe output above tells us that 199 MB or 1% of /dev/xvdb (our ephemeral storage) is in use. However, the output of ls tells us the device is pretty much empty.root@host:~# ls -lah /mnttotal 24Kdrwxr-xr-x  3 root root 4.0K Nov 11 11:27 .drwxr-xr-x 23 root root 4.0K May  1 15:57 ..drwx------  2 root root  16K Nov 11 11:27 lost+foundWhat is consuming all the space?Edit: Additional Information...As advised in the comments below, here is the output of du -sch /mnt:root@host:~# du -sch /mnt20K     /mnt20K     total... and here is the output of mount:root@host:~# mount/dev/xvda1 on / type ext4 (rw)proc on /proc type proc (rw,noexec,nosuid,nodev)sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)none on /sys/fs/fuse/connections type fusectl (rw)none on /sys/kernel/debug type debugfs (rw)none on /sys/kernel/security type securityfs (rw)udev on /dev type devtmpfs (rw,mode=0755)devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)none on /run/shm type tmpfs (rw,nosuid,nodev)/dev/xvdb on /mnt type ext3 (rw)
Help Deciphering Disk Usage. Where Did the Space Go?
ubuntu;disk usage;amazon ec2