I have an Ubuntu Server installation 14.04 that I used the ubuntu default LVM partitioning by the installer (With the /home, /, /tmp... as separate partitions) and I never thought anything of it and installed a few apps and now, I went to apply updates and it tells me there is no disk space. The installer created a 350M / partition and it's full but I have a bunch of free space;
/dev/mapper/owncloud--vg-root 321041 310156 0 100% /
none 4 0 4 0% /sys/fs/cgroup
udev 1010156 4 1010152 1% /dev
tmpfs 204268 1028 203240 1% /run
none 5120 0 5120 0% /run/lock
none 1021320 0 1021320 0% /run/shm
none 102400 0 102400 0% /run/user
/dev/mapper/owncloud--vg-usr 7420304 1651456 5368876 24% /usr
/dev/mapper/owncloud--vg-var 2817056 488112 2166128 19% /var
/dev/sda1 240972 38065 190466 17% /boot
/dev/mapper/owncloud--vg-tmp 368615 2188 342875 1% /tmp
/dev/mapper/owncloud--vg-home 7891880 17972 7449972 1% /home
I've been going through the forums for a while and have tried everything I've found to clean up space but nothing is working. I have no old kernels, tried cleaning up packages, removed lost+found, deleted a duplicate website folder I had. Everything seems to be working OK so I'm wondering if this is an issue or is this just the way Ubuntu should have partitioned the drive? Thanks,
df
output into a format that makes it easier to read: please check that it is correct. Since you have separate boot, usr, and home volumes I'd suspect there are some 'big' files that shouldn't be there in /etc or /root (which is empty, by default). Try something likesudo find /etc -size +1M -ls
(fwiw, I found a core file in mine, which was bumping /etc up from ~16M to over 400M).sudo vgdisplay
. If it shows more than a trivial amount of free space available (on theFree PE / Size
line), you can expand your/dev/mapper/owncloud--vg-root
logical volume to get more space. This is most easily done with a tool like the GUIsystem-config-lvm
. Even if there's not much free space, you should be able to shrink another logical volume by a bit to make more room.