"No space left" error on 51% full LVM/EXT4 partition

Asked by deadguy

I can't write to my partition, even though "df -h" shows it's only 51% full. It's an LVM/ext4 partition mounted at /me, and only used for storage. Hoped upgrading to lucid might help, but didn't.

$ df -h
...
/dev/mapper/ubuntu--laptop-me
                      364G 174G 173G 51% /me

$ touch /me/asdf
touch: cannot touch `/me/asdf': No space left on device
$ sudo touch /me/asdf
touch: cannot touch `/me/asdf': No space left on device

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
deadguy
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

df -h

Thanks

Revision history for this message
deadguy (deadguysfrom) said :
#2

The original question includes the relevant output of df -h. Here's the full output:

$ df -h
/dev/mapper/ubuntu--laptop-root
                       46G 14G 31G 31% /
none 1.5G 296K 1.5G 1% /dev
none 1.5G 464K 1.5G 1% /dev/shm
none 1.5G 216K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
none 1.5G 0 1.5G 0% /lib/init/rw
/dev/mapper/ubuntu--laptop-home
                       46G 25G 20G 56% /home
/dev/mapper/ubuntu--laptop-me
                      364G 174G 173G 51% /me

As you can see from the original question, /dev/mapper/ubuntu--laptop-me is mounted at /me, and has 173G free. Yet when I try to touch /me/asdf (as either myself or root), I get "No space left on device"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you give the output of:

mount

Thanks

Revision history for this message
deadguy (deadguysfrom) said :
#4

$ mount
/dev/mapper/ubuntu--laptop-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none 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)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/mapper/ubuntu--laptop-home on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/me/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=me)
/dev/mapper/ubuntu--laptop-me on /me type ext4 (rw,noatime)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I suggest fsck'ing all the partitions you can. You can do this in a liveCD environment so that the partitions are not mounted. This should make the system realise it has free space.

Revision history for this message
deadguy (deadguysfrom) said :
#6

"df -i" revealed I had 0 available inodes. bummer. thanks everyone!