Issue
I have a problem that "low disk space on filesystem root" of Ubuntu system on VMware. I tried to solve it from many tutorials but it didn't work well. Could anyone help me plz? I look forward to your kind response.
(https://i.stack.imgur.com/MswJj.png) (https://i.stack.imgur.com/b1oE9.png)
Solution
You are attempting to extend the root partition using LVM on a system where LVM is not used.
Normally, extending the root partition can be pretty complicated since it's being used, but Ubuntu includes growpart
from cloud-guest-utils
, so you should be able to do:
growpart /dev/sda 5
This should grow the partition into all available space on the disk as indicated by lsblk
, after which you need to run the following to also resize the filesystem:
resize2fs /dev/sda5
Obviously you should snapshot the system first before making any type of changes to disks and partitions as it may break your root partition.
Answered By - pzkpfw Answer Checked By - Gilberto Lyons (WPSolving Admin)