Jump to content

How to keep Containers and VMs on SSD pool?


Recommended Posts

Hello everyone.
I am planning to migrate to Unraid and activated trial to taste the system, it's my first day, some guidenace will be needed :)

There are two 4TB spinning HDDs assigned to an array (I am not sure in what RAID configuration they are but it's not the point right now).

There are four 1TB SSD drives in additional pool that system named cache by default and I selected zfs - raidz (this part is clear to me).

There will be additionally six 6TB spinners added in another raidz2 pool "storage" when I am comfortable to remove them from Truenas.

 

Features I would like to test are VMs and Containers but since Unraid concept is totally new to me I am not sure what are all those settings with primary / secondary location and mover. I want VM's and containers to run on SSD pool and not disturb spinning drives if I don't have to so in the future I could spin down main storage.

 

My logic is telling me that I should change these paths and point to "cache" pool. Is it possible? Any red flags in doint that?

 

image.thumb.png.d1dc7fc20f8523871ab1c9e3a0fc1bfd.png

 

Then what are all these options? Should I just disable them?
image.thumb.png.1eb9758d5d700345443aa63cbfdaa705.png

Thank you.

Link to comment

You can change to /mnt/pool_name but you can also configure the share to get the same behavior, set primary storage=pool and secondary storage=none.

 

Also a good idea to enable exclusive shares for better performance while using /mnt/user for shares that only use a pool ( Settings - Global Share settings)

  • Like 1
Link to comment

Thank you guys for your help. I will read more in the manual, it's a lot of reading and experiemnting for relatively short 30 day trial.

 

I was surprised to see "/mnt/user" where you'd expect system level operations and I think that it's related to what Jorge is referring to. Can you please elaborate on this:

50 minutes ago, JorgeB said:

enable exclusive shares for better performance while using /mnt/user for shares that only use a pool

Link to comment

All User Shares appear at the Linux level under /mnt/user.    If all files for the share are on a pool then you can dispense with the secondary storage option and the share can then be an Exclusive share which gets the same performance as going directly using disk shares.

  • Like 1
Link to comment

I think that I am mixing terminology, a "Share" doesn't necessary mean a network share. Is it something like a "Dataset" in Truenas? If so...

It can be set so that it won't be a symlink but directly pointing to the cache pool. I think that I managed to do that.

image.thumb.png.5c34e94d017abe49e3e12ccd8076aeac.png

 

 

 

Now... would the system move existing docker data if I point the docker to a new share here? I don't see "MOVE" to the new location button. Does it requires manual intervention?
image.png.c44661551215f3fafe1d924ee7aea9bc.png

 

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.

×
×
  • Create New...