this post was submitted on 06 Jul 2023
12 points (92.9% liked)

unRAID

1143 readers
1 users here now

A community for unRAID users to discuss their projects.

founded 2 years ago
MODERATORS
 

Hey,

I have a SSD pool with two relative small SSDs:

Now I started to notice that one of my SSDs started to fail. So I thought, why not use this opportunity to upgrade the pool. This is how I expect it to work:

  1. Buy two new bigger SSDs
  2. Restart server in safe mode
  3. Remove failing SSD
  4. Install one of the new SSDs
  5. Add the new SSD to the pool
  6. Start the Array?
  7. The pool should regenerate???
  8. Start with Step 3 again and replace the second small SSD
  9. Profit ???

Is this how it works or do I really first need to use the mover and move all data back to the hard drives and replace the pool all at once?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

You could use this opportunity to upgrade your cache pool and use ZFS in one step:

  • Install two new SSDs
  • configure new second cache pool with zfs
  • stop all containers and VMs
  • run mover
  • switch all shares from old to new cache pool
  • copy all data remaining data from old to new cache pool
  • start containers and VMs
[–] doodlebob 1 points 1 year ago

I second the, I had an nvme fail on me and took the opportunity to switch to zfs. I'm planning on upgrading all of my other pools to zfs as well.

[–] Fribbtastic 2 points 2 years ago (1 children)

I think this is too complicated.

Shut down all containers and VMs. Set all shares to "use cache=Yes" that otherwise are only on cache or prefer it and then invoke the mover. verify that the cache pool is empty and take the array offline or shut the server down (if you can't hot swap) and replace the drives. start the server, assign the new drives to the cache pool, start the array and set your shares prefer and invoke the mover (this is so that shares that were set to "use cache=only" also is moved to the cache) after that is finished, set the shares to whatever it was before. Start containers and VMs. Done.

You don't need to restart in Safe mode, you don't need to replace each drive individually. You just do it once, move everything off, replace and move everything on again.

Personally, I have never done a replacement and upgrade of cache pool at the same time so I wouldn't want to experiment without first having done it myself as a test before even if someone online says that it works.

[–] [email protected] 1 points 2 years ago

But moving to the HDDs and back is pretty slow, because the cache drive contains many many small files. This is why I asked if it is possible to do it this way. Because then it would only be a ssd => ssd transfer.

[–] [email protected] 1 points 1 year ago

Thinks that's the proper way to do it. Check the unraid forums. They have loads about this procedure.