Apparently, I was using xvda1 disk which is out of space.
How do I change the /etc/fstab
so that I can make my xvda2 for top level, and xvda1 as additional resource?
It's an EC2 instance:
root@~# cat /etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults 0 0
/dev/xvda2 /mnt auto defaults,nobootwait,comment=cloudconfig 0 2
root@:/# du --max-depth=1 -h
4.0K ./selinux
1.7G ./opt
29M ./boot
du: cannot access `./proc/23342/task/23342/fd/4': No such file or directory
du: cannot access `./proc/23342/task/23342/fdinfo/4': No such file or directory
du: cannot access `./proc/23342/fd/4': No such file or directory
du: cannot access `./proc/23342/fdinfo/4': No such file or directory
0 ./proc
98M ./lib
13M ./etc
2.8M ./home
72M ./run
8.0K ./dev
4.0K ./media
8.0M ./sbin
20K ./mnt
4.0K ./srv
0 ./tmp
8.3M ./bin
1.4M ./build
0 ./sys
1.4G ./usr
3.9G ./var
16K ./lost+found
233M ./root
7.4G .
root@:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 8361916 7845404 97084 99% /
udev 1929404 8 1929396 1% /dev
tmpfs 773948 73672 700276 10% /run
none 5120 0 5120 0% /run/lock
none 1934860 0 1934860 0% /run/shm
overflow 1024 64 960 7% /tmp
/dev/xvda2 412814512 203156 391641580 1% /mnt