Given this disk layout, we have two options to increase the “/” filesystem size:ġ- To add a new physical disk to the VM, and use it to expand the LV and so the filesystem.Ģ- To resize the current physical disk from about 39GB to 50 GB, and then resize the LV and filesystem.
We have to Logical Volums (2 lvs), one for swap (3GB), and the larger one for “/” file system. So, we have one physical disk (/dev/sda) divided into 2 partitions, /dev/sda1 for /boot (small one) and larger partition /dev/sda2), that is used to build LVM. How many physicals disks that we have, how many partitions?. So, I decided to increase the space by another 10GB. When I examined the space on this VM, I found that I have only 2GB of free space available in “/” filesystem, which is not enough for me to do my work.
We have an Oracle Linux Virtual Machine that we created in our previous post up and running.