VirtualBox hard drive usually has one or a few files when you create a drive. I think it is good because you manage only a few files. However, I have out of space of my drive. Is it possible to span over other volume like in VM player?
3 Answers
Yes it is possible, though you need to use the VMDK disk format.
VBoxManage clonehd disk.vdi disk.vmdk --format VMDK --variant Split2G
This will create disk.vmdk
(text file) along with a number of disk-sXXX.vmdk
(data files). You should point your virtual machine to use the disk.vmdk
file.
Just an idea, what if you used the command:
vboxmanage clonehd hd1.vdi hd2.vmdk --format VMDK --variant Split2G --type normal --remember
-
Nice one. But the options "--type normal --remember" aren't recognized. Sep 25, 2016 at 7:39
-
According to forums.virtualbox.org/viewtopic.php?f=6&t=77767 , this works but you need to relink the newly created disk because it changed UUID. Not tested yet– PPCApr 16, 2019 at 14:25
VirtualBox supports .vmdk
files since 2.1. So you can convert your .vdi
to 2GB-parts .vmdk
and open it in VirtualBox. I don't know however how about spanning the files into different disks.