![Resize vm virtualbox](https://cdn3.cdnme.se/5447227/9-3/screenshot_6_64e62947e087c31b3e7101ab.jpg)
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.
![resize vm virtualbox resize vm virtualbox](http://morskov.com/assets/blog/gparted.png)
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.
![resize vm virtualbox resize vm virtualbox](https://ricopic.one/assets/vm-resize-01.png)
![resize vm virtualbox resize vm virtualbox](https://i.stack.imgur.com/SETZE.png)
We have an Oracle Linux Virtual Machine that we created in our previous post up and running.
![Resize vm virtualbox](https://cdn3.cdnme.se/5447227/9-3/screenshot_6_64e62947e087c31b3e7101ab.jpg)