Best practices for VMs on Cache


Recommended Posts

Hello everyone,

 

I'm starting to use more and more Docker and VMs on Unraid, so I'm wondering about adding SSDs to my Unraid.

What's the best way to do it?

 

1/ Add an SSD as a cache and put the VMs in it. Is it possible to copy them every night on the array afterwards, leaving the data on the SSD? (does the mover delete the data after moving it)?


2/ Add two SSDs to a cache (1 used, 1 for security) and put the VMs only on it without copying them on the array ?


3/ Add an SSD as an unassigned device and clone it regularly on the array for protection ?

 

Bonus/ Do cached disks count within the 12 disk limit? Since I already have 2 party disks and 8 data disks.

 

Thanks to all of you!

Link to comment
15 hours ago, Keichi said:

1/ Add an SSD as a cache and put the VMs in it. Is it possible to copy them every night on the array afterwards, leaving the data on the SSD? (does the mover delete the data after moving it)?

I would use the SSD as a cache drive, and have the VMs run off that.  Is it possible to back them up--- yes. You can have the mover do it or you could do it yourself, but if your VM becomes corrupted in some aspect, that corruption is backed up as well ... so there may not be any point in backing up your VMs...

 

You don't say what your current setup is to begin with so this would also give you the ability of using the SSD for your normal appdata cache too.

 

15 hours ago, Keichi said:

2/ Add two SSDs to a cache (1 used, 1 for security) and put the VMs only on it without copying them on the array ?

You can use a cache pool to have mirrored cache disks in the event that the SSD physically fails if you wanted to.

 

15 hours ago, Keichi said:

3/ Add an SSD as an unassigned device and clone it regularly on the array for protection ?

Not worth the trouble to do it that way..

 

15 hours ago, Keichi said:

Bonus/ Do cached disks count within the 12 disk limit? Since I already have 2 party disks and 8 data disks.

Yes, they count.

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.