giveitago Posted February 28, 2023 Share Posted February 28, 2023 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 Quote Link to comment
trurl Posted February 28, 2023 Share Posted February 28, 2023 Set the "default shares" to cache:prefer https://wiki.unraid.net/Manual/Shares#Default_Shares https://wiki.unraid.net/Manual/Shares#Moving_Files_from_the_Array_to_a_Pool_.28cache.29 Quote Link to comment
Solution glennbrown Posted February 28, 2023 Solution Share Posted February 28, 2023 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. Quote Link to comment
trurl Posted February 28, 2023 Share Posted February 28, 2023 36 minutes ago, glennbrown said: the appdata share You want more than just appdata. Do all the default shares you have in that wiki link Quote Link to comment
glennbrown Posted February 28, 2023 Share Posted February 28, 2023 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 Quote Link to comment
trurl Posted February 28, 2023 Share Posted February 28, 2023 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 Quote Link to comment
giveitago Posted February 28, 2023 Author Share Posted February 28, 2023 Marvellous! Many thanks both! The Docker image files were not moving even though the Containers were stopped. I realised I had to disable the Docker and VM in the Settings first then tried Mover again. All transferred to the NVMe pool now. Quote Link to comment
Recommended Posts
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.