Running a VM from a raw partition?


Recommended Posts

I don't have the budget for a large enough cache SSD but performance from a raw disk image on a spinning disk with Windows Server 2016 is quite poor.

 

Can I improve this by passing through a partition from an unassigned disk?

 

If so, how do I create a partition on an unassigned disk and configure a VM to use it?

Link to comment

Everything on Linux is a file, its very different from windows that way...  If you don't want to point it at:

/mnt/cache/domains/Windows/vdisk1.img

then point it at something like this instead:

/dev/disk/by-id/ata-Hitachi_HDS5C3030ALA630_MJ1321YNG06KNA

this points it to the devices folder, selects a block device disk, and this is important, it selects it "by-id" so that if you ever change your partitions or drives it doesn't break where the VM is pointing...  there are others, you can select by several others, check out what you have in your /dev/disk/ folder on the UnRaid host...

 

Be Careful, Linux will happily let you specify the wrong one and let you overwrite an important data drive, so double-check you got the correct one...

Edited by Warrentheo
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.