zakkh8linux

New Member
Joined
Jan 6, 2022
Messages
2
Reaction score
1
Credits
29
Started up a ubuntu 20.04 lts on a VM with a GUI. Despite allocating 30gb to the VM I constantly was getting warnings that my storage was running out even though I had 12gb available of the 30gbs (from what I could see on vmware). I restarted to machine and the GUI wasn't loading but I could still SSH into the server and strangely my Minecraft server container wouldn't start. I then ran the "df -h" command and this is what I received:

Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 36M 358M 10% /run
/dev/sda5 20G 18G 103M 100% /
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 51M 51M 0 100% /snap/snap-store/547
/dev/loop1 66M 66M 0 100% /snap/gtk-common-themes/1515
/dev/loop2 33M 33M 0 100% /snap/snapd/12704
/dev/loop3 219M 219M 0 100% /snap/gnome-3-34-1804/72
/dev/loop4 62M 62M 0 100% /snap/core20/1270
/dev/loop5 128K 128K 0 100% /snap/bare/5
/dev/loop6 56M 56M 0 100% /snap/core18/2128
/dev/loop7 44M 44M 0 100% /snap/snapd/14295
/dev/loop8 248M 248M 0 100% /snap/gnome-3-38-2004/87
/dev/loop9 219M 219M 0 100% /snap/gnome-3-34-1804/77
/dev/loop10 55M 55M 0 100% /snap/snap-store/558
/dev/loop11 56M 56M 0 100% /snap/core18/2253
/dev/loop12 66M 66M 0 100% /snap/gtk-common-themes/1519
/dev/sda1 511M 4.0K 511M 1% /boot/efi
Media 11T 8.4T 2.6T 77% /media/sf_Media
tmpfs 393M 8.0K 393M 1% /run/user/1000

I then realized when I added storage it was unallocated. When I tried to resize sda5 it said, "error resizing partition /dev/sda5: Failed to set partition size on device '/dev/sda' (can't have overlapping partitions.) (udisk-error-quark, 0)"

How do I resize this partition?
 


$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top