Tenho um volume de 25 GB no EC2. OS é o Ubuntu 12.04 LTS. Eu posso me conectar a ele, mas não posso nem escrever 1KB. Eu tentei apagar alguns arquivos e escrever novamente - o mesmo resultado - não há espaço suficiente.
Eu tentei verificar o espaço livre e recebi este erro.
df -h
df: cannot read table of mounted file systems: No such file or directory
Depois tentei obter o tamanho dos diretórios. Parece que apenas 13 GB de 25 GB estão cheios:
du -h --max-depth=1
18M ./boot
16K ./lost+found
4.0K ./tmp
83M ./lib
192K ./home
8.7M ./bin
4.0K ./selinux
4.0K ./opt
100K ./root
8.0K ./dev
du: cannot access './proc/1312/task/1312/fd/4': No such file or directory
du: cannot access './proc/1312/task/1312/fdinfo/4': No such file or directory
du: cannot access './proc/1312/fd/4': No such file or directory
du: cannot access './proc/1312/fdinfo/4': No such file or directory
0 ./proc
7.9M ./sbin
434M ./usr
172K ./run
13G ./var
0 ./sys
4.0K ./srv
4.0K ./mnt
4.0K ./lib64
4.0K ./media
5.8M ./etc
13G .
Montagens
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=1912272k,nr_inodes=478068,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,relatime,size=768100k,mode=755)
/dev/disk/by-label/cloudimg-rootfs on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
none on /sys/kernel/debug type debugfs (rw,relatime)
none on /sys/kernel/security type securityfs (rw,relatime)
none on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
none on /run/shm type tmpfs (rw,nosuid,nodev,relatime)
Como posso resolver este problema?