hoppers99 Posted June 15, 2021 Share Posted June 15, 2021 As part of a new server build, I need to do a number of drive changes along the journey and was hoping someone could double check my thinking. I've looked at the wiki guides and formulated a plan but it's a little more in-depth. I'm moving from: Machine 1: which has a number of 4TB and smaller drives (4TB parity) and 2x SATA SSD's as Cache, to; Machine 2: with 4x 10TB drives (one as parity, 3 as data) and 2x M.2 SSD's as cache. As I have 3 spare slots on Machine 1, my thought is to add the 10TB drives in there, move the data off the old drives, decommission the old drives, and then move the new drives across. Basic worklist: Stop the array Add 3 new 10TB drives Remove the parity drive (yes I realise this leaves the array unprotected but my thought is more for speed - open to thoughts on this) Start the array rsync data between disk (specifically disk, not user) mounts to the new drives so it's all on the 10TB's Stop the array New Config: remove the old drives, and add the new 10TB parity drive Rebuild parity Update all shares to be "cache: yes" Disable docker and vm's Run mover and confirm cache is empty Record all details of drives/serial/position Stop the array and disable auto-start Shutdown Machine 1 Move the array drives to the new machine and the USB Boot Machine 2 New Config: Setup with Parity drive in the right place and other data drives attached Setup new cache drives Start the array Parity check (possibly not needed as no array disk changes but for paranoia I'm thinking better more than less?) Set appropriate shares back to "cache: prefer" Run mover Re-enable docker & vm's Job done? As part of the prep I'm thinking of spinning the new drives up in the new machine with a trial unraid and running pre-clear on them that way as running them on the old box might actually make it melt, and take days (and validates unraid will play okay with the build).... Can anyone comment on the approach I'm looking at and if it seems like a good way to get everything moved safely (with the exception of the time parity is disabled of course)? Also, one question on "New Config"; how does this differ from just changing drive assignments when the array is stopped, and when is it required. For example it appears I could just assign new drives to the array from the drives screen but is there something more that New Config is managing here? Thanks in advance and sorry for the many-step list. Happy to post diagnostics of Machine 1 if it helps, I'm just not near that machine atm so can do this evening. In the meantime they should be largely unchanged from the ones I attached to a previous post: Quote Link to comment
JorgeB Posted June 16, 2021 Share Posted June 16, 2021 7 hours ago, hoppers99 said: Add 3 new 10TB drives Remove the parity drive If you're removing parity do it before adding the new drives, or they will be cleared before they can be used. 7 hours ago, hoppers99 said: Start the array Parity check (possibly Before starting the array check "parity is already valid" or it will be resynced, you can still run a check after to confirm all is well. Quote Link to comment
hoppers99 Posted June 16, 2021 Author Share Posted June 16, 2021 Thanks for that @JorgeB 13 hours ago, JorgeB said: If you're removing parity do it before adding the new drives, or they will be cleared before they can be used. In my head that was just changing the assignments in the dropdown and both would be applied in one go. Do I need to apply the two independently? 13 hours ago, JorgeB said: check "parity is already valid" Perfect thanks, that would probably have caught me out. Quote Link to comment
JorgeB Posted June 17, 2021 Share Posted June 17, 2021 9 hours ago, hoppers99 said: Do I need to apply the two independently? Yes, first unassign parity and start array, then stop and add new disks. 1 Quote Link to comment
hoppers99 Posted June 17, 2021 Author Share Posted June 17, 2021 Awesome, thanks so much! 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.