Help setting up NVM for Docker and HDD for NAS


Go to solution Solved by glennbrown,

Recommended Posts

Hi,

 

I have one HDD drive and one NVMe drive. I've gone through the manual and searched previous posts however I'm still a bit confused how to store docker images and containers data on an NVMe drive. From what I read the recommendation is not to add NVMe drive to array but to create a pool for the NVMe drive.

 

On creating Unraid I've created a array device with single 8TB HDD. I've then loaded a couple of experimental Docker instances. This has created appdata, domains, isos and system shares on the 8TB HDD.

 

I've now created a pool using single NVMe drive. However, when i click on any of the above shares, I thought I would see the pool drive in the "Included disks" but it only shows HDD.

 

I'm not looking to use the NVMe as a cache drive. I want to use it as a permanent drive for Docker et al. What is the right way to host Docker and related files on the NVMe?

 

Thanks

 

 

Link to comment
  • Solution

Stop the array.

Add a pool, add the NVMe drive to that pool.

Start the array

In the appdata share settings change the following:

"Use cache pool (for new files/directories):"  - Set this to Prefer
"Select Cache Pool:" - Set this to name of the pool you created.

Do the above for the "system" share too

 

You will want to stop Docker then execute mover, that should move all data to the pool.

Link to comment
12 minutes ago, trurl said:

You want more than just appdata. Do all the default shares you have in that wiki link

 I did call out system too ;) 

He did not mention using VM's but yes if you do run VM's that one as well. I see little benefit to have iso's sitting on a pool device fulltime. I just have mine personally set Yes for iso's

Link to comment
4 minutes ago, glennbrown said:

I see little benefit to have iso's sitting on a pool device fulltime. I just have mine personally set Yes for iso's

I do it that way too. Your VM doesn't need the iso after install.

 

I've spent so much time typing about getting these shares off the array I just started referring to the wiki

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.