How does unraid handle vm images larger than their original disk?


Recommended Posts

I'm trialing unraid right now so pardon my ignorance. 

 

How exactly does unraid handle vm images that approach/break the total size of the disk I allocate the original VM on? Eg I have no issue provisioning a 2tb vm image on a 1tb physical disk in my array. What happens when that 2tb vm image hits 1tb? 

Link to comment
6 hours ago, wbsmolen said:

Does unraid support vm storage across multiple disk files?

Each vdisk for the vm is a unique harddrive. For example you can add 3 1tb vdisks hosted on 3 different physical drives. VMs will recognise them as 3 individual drives. You can use software raid functions inside the VM, depending on the os to create a raid, if you like. Not tried it myself, but should be possible. 

 

But keep in mind, if you use vdisks you add a layer of emulation that uses ressources and might slow things down a bit. Better solution is to directly passthrough the 3 physical disks from my example.

Link to comment
6 hours ago, wbsmolen said:

Does unraid support vm storage across multiple disk files?

If you mean splitting a single vdisk into multiple files so that it could be spread across multiple physical drives then is definitely not supported as a standard feature on Unraid.
 

I am not sure, however, if you created the vdisk on a different system (e.g. on VirtualBox or VMWare) and selected the option to split the vdisk into multiple files whether you could then move that file set to Unraid and then KVM on Unraid could be told somehow to use such a set operating as a single vdisk.  I must admit this is not something I have ever tried or even looked into.   It might be worth asking on KVM related forums as to whether KVM has such a capability in the first place as if it does then one could probably get it to work on Unraid with a bit of CLI work.

Link to comment
  • 2 weeks later...
On 3/15/2020 at 6:27 AM, itimpi said:

If you mean splitting a single vdisk into multiple files so that it could be spread across multiple physical drives then is definitely not supported as a standard feature on Unraid.
 

I am not sure, however, if you created the vdisk on a different system (e.g. on VirtualBox or VMWare) and selected the option to split the vdisk into multiple files whether you could then move that file set to Unraid and then KVM on Unraid could be told somehow to use such a set operating as a single vdisk.  I must admit this is not something I have ever tried or even looked into.   It might be worth asking on KVM related forums as to whether KVM has such a capability in the first place as if it does then one could probably get it to work on Unraid with a bit of CLI work.

FWIW -- this is what I was getting at. 

 

I added more cache storage and called it a day. I'm guessing kvm perf navigating multiple disk drivers across multiple physical drives would be suboptimal, if at all possible.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.