Create an LVM and attach it to the filesystem in Linux/Virtual Box
Create an LVM physical volume on partition /dev/sdb1.
[root@z1 ~]# pvcreate /dev/sdb1
Physical volume "/dev/sdb1"
successfully created
Virtual box:
$ cd /u01/VirtualBox/ol6-112/
$ VBoxManage modifyhd ol6-112.vdi --resize 40960
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
$
C:\>cd "C:\Users\myuser\VirtualBox VMs\ol6-112"
C:\Users\myuser\VirtualBox VMs>"C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyhd ol6-112.vdi --resize 40960
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
C:\Users\myuser\VirtualBox VMs>
Get Answers For Free
Most questions answered within 1 hours.