I did a new install but it's saying I have a full disk. How do I fix this? Disk Usage (Server : ns1) Filesystem Type Size Used Available Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 395M 1.1M 394M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 3.9G 3.6G 156M 96% / /dev/sda2 ext4 976M 77M 832M 9% /boot
The disk has a size of 3.9 GB and you are using already 3.6GB, so yes, it's indeed nearly full. If it's a new install or not does not really matter, what matters is that the disk size is too small for the installation you made. You should try to increase the disk size or reinstall using a larger disk as it's a new system anyway.
Probably you created just a 4GB partition on your 200GB hard disk, so only 4GB can be used. You can try to resize the partition.
Which partition needs to be resized? root@ns1:~# df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 395M 1.1M 394M 1% /run /dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.5G 192M 95% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/loop0 89M 89M 0 100% /snap/core/7270 /dev/sda2 976M 77M 832M 9% /boot tmpfs 395M 0 395M 0% /run/user/0
it's this one /dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.5G 192M 95% / but it may not be that simple, it's a logical volume, and depending on the starting location of other volumes/partitions, and what you've got configured as physical volumes and volume groups, it may require a quite a bit of volume/partition juggling. I don't know how familiar you are with logical volumes, if you're completely new to them it could get quite confusing. you may possibly find it easier and quicker to re-install ubuntu and instruct the installer to use the whole drive as a standard partition, and not use lvm. if you want to stick with lvm, you may find this set of articles useful: https://www.tecmint.com/create-lvm-storage-in-linux/ https://www.tecmint.com/extend-and-reduce-lvms-in-linux/ https://www.tecmint.com/take-snapshot-of-logical-volume-and-restore-in-lvm/ https://www.tecmint.com/setup-thin-provisioning-volumes-in-lvm/