Jump to content

Removing a Drive and Adding Cache


Go to solution Solved by TechHut,

Recommended Posts

Hello all! I made a very noob mistake when I first setup my array. I have x6 4TB drives and then a single 128gb NVME all in the same array. The 128gb NVME is only used for a share with docker configuration files. I just wanted to make sure there isn't anything special I need to do as to not screw anything up. I'm planning on backing up my docker configuration files, stopping the array, and removing the NVME.

 

Then I plan on replacing it with a brand new 2TB NVME and setting it up as a cache drive. I heard we can do shares on cache and that is where I'd like my docker files stored.

 

398175107_Screenshot2023-08-04185402.thumb.png.3f3dd486b5b8a9748ce72ffbfe8962f9.png

Link to comment
17 hours ago, TechHut said:

Then I plan on replacing it with a brand new 2TB NVME and setting it up as a cache drive.

My plan would be to go ahead and add the new NVME as a pool, name it cache if you wish, doesn't matter much as long as you keep track of the name, then disable docker service (not just the containers) and VM service if the VM image is on disk6, then set up the mover to transfer all the shares currently on disk6 to the new pool. That way you don't have to do the backup and restore.

 

All this hinges on being able to have both NVME drives installed at the same time, if that's not possible then your only safe option is to copy the files elsewhere off of disk6 like you were planning. If you are ABSOLUTELY SURE that all the rest of your disks are 100% healthy, you could always remove the current NVME and allow the rest of the disks with parity to emulate the files that were on disk6 and copy them to the new NVME assigned to a pool.

 

17 hours ago, TechHut said:

I just wanted to make sure there isn't anything special I need to do as to not screw anything up.

Nothing "special", but there are so many ways of accomplishing what you want to do, it's tough to pick one way as best. The only thing I would warn is to make sure the docker and VM tab aren't present in the GUI when you start copying files around, that way you can be sure that there won't be any in use system files that don't get copied. Disabling the services will remove the tabs from the GUI until they are enabled again in settings.

 

At some point in the process you will have to follow the shrink array procedure as mentioned by JorgeB to remove a data disk slot, unless you replace and rebuild it with another 4TB. Given that you have 10TB free you really don't need another 4TB of space right now.

 

Sorry if I confused the issue with more options, be sure to ask more questions and lay out your plan with more specifics before you actually do anything, that way we can look over your steps and verify whether it sounds safe.

  • Thanks 1
Link to comment
  • Solution

First, big thanks to @JonathanM and @JorgeB for your replies they lead me in the correct direction! Learned a good amount in this process. For anyone trying to do the same thing it is relatively easy and there are a few ways to do it.

 

1. Backup all the data in the share/drive I was removing. You technically could change the disks the share uses and then use the mover, but I only had a few gigs worth of docker config files. Stopped all docker containers and turned off auto-start.

2. Followed the 'The "Remove Drives Then Rebuild Parity" Method' here: Shrink Array | Unraid Docs

3. Upgraded NVME and setup as a single Cache Pool. Cache Disk | Unraid Docs

4. Made my appdata share only use the new Cache pool and uploaded my previously backed up docker configuration files.

5. Manually edited each docker container with default appdata directory for configurations.

 

1759768440_Screenshot2023-08-05202134.thumb.png.00a0a1598b2cb51f42c0ebcc8c553484.png

  • Like 1
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...