Jump to content
Sign in to follow this  
Koenig

VM's and Docker on unassigned device?

8 posts in this topic Last Reply

Recommended Posts

Hi!

 

I just recently built a "homeserver" of some old hardware (Gigabyte UD5, 4930K and 64GB RAM and some WD RED 4TB) and a couple of new disks.

From the looks of it Unraid is the server OS I'm looking for, so I decided to give it a shot.

 

Since it will be moving a lot of big files I didn't really want to use an SSD as a cache-drive, so I took one of my old "WD RED 4TB".

 

But I have noticed that the VM's and Dockers do take a hit when the big files are beeing written, so my question before I decide:

Is it possible to store the dockers and VM's on an SSD as an unassigned device, or is it any downside to this if possible?

Share this post


Link to post

This is definitely possible.   This is how I handle my VMs.

Share this post


Link to post
51 minutes ago, Koenig said:

I hope the same goes for the Dockers?

Yes

 

Another approach is to use SSD as cache but don't cache user share writes. This saves all the cache SSD for docker / VMs and writes to user shares are immediately protected by parity. If you still want a little more performance on writing to user shares on the array there is turbo-write mode. Not as fast as writing to cache but doesn't have the disadvantages of temporarily having your user share data on cache, where it will be unprotected (unless using a cache-pool) until moved (which just delays the performance hit of writing to the array).

Share this post


Link to post

OK, I see.

 

Maybe I'll switch it up later, but for now I'll go for my first thought.

 

And then another question popped up as I connected my SSD: What filesystem to use? Any recommendations here?

Share this post


Link to post
10 minutes ago, Koenig said:

OK, I see.

 

Maybe I'll switch it up later, but for now I'll go for my first thought.

 

And then another question popped up as I connected my SSD: What filesystem to use? Any recommendations here?

If you only want to read the drive on unRAID then I would go with XFS.    If you want to read it on another system then I would suggest formatting it on that system to a supported file system before plugging it into unRAID.

Share this post


Link to post
20 minutes ago, itimpi said:

If you only want to read the drive on unRAID then I would go with XFS.    If you want to read it on another system then I would suggest formatting it on that system to a supported file system before plugging it into unRAID.

 

Only by Unraid.

 

Now I have to figure out how to move the already existing VM's and the dockers...

 

Anyone have a writeup about such things?

Share this post


Link to post

So what I did was in a console:

 

cp -a /mnt/user/appdata/. /mnt/disks/SSD/appdata/

cp -a /mnt/user/system/. /mnt/disks/SSD/system/

cp -a /mnt/user/domains/. /mnt/disks/SSD/domains/

 

And then I changed the settings under VM-manager (libvirt and vdisks) to the new locations and the same for Docker (docker.img and appdata)

And lastly I changed the settings for each VM I had already created.

 

I hope this will do it.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this