Trying to Swap Drives, Can't Stop Array on 6.12.3


Go to solution Solved by JonathanM,

Recommended Posts

My server originally had dual 6TB parity with 4TB and 6TB data drives (a total of 11 data drives).  I'm trying to swap four 16TB and two 12TB drives into my server.  My drive bays are all full and I don't have any extra SATA ports, so I used Unbalance to offload the data from three 4TB drives to the rest of the array.  I figured I could swap one of the parity disks for a 16TB drive, allow parity to rebuild / sync then follow the steps in this video to zero three data drives, remove them, retain parity and add three 16TB drives... rinse and repeat until the array consists of one 16TB parity drive with three 16TB and two 12TB data drives.  My plan was to leave the 6TB parity disk until the end as dual parity would provide more redundancy during this data disk shuffle.

 

 

I swapped one of the 6TB parity drives with a 16TB; after parity was rebuilt / synced, I proceeded through the process of zeroing out a 4TB drive (Disk 1).  Once I tried to stop the array, it hung with the "Retry unmounting shares" error; it's running 6.12.3.  VMs and dockers were stopped, nothing was accessing the array, I don't limit drives within shares, so I was confused with the error.   Since I couldn't stop the array, I proceeded to shutdown the server, swapped the zeroed 4TB (Disk 1) for a 16TB drive and upon reboot, I couldn't assign it as Disk 1 as it indicated that the new drive was larger than the dual parity disks (16TB and 6TB).  If I unassigned the 6TB parity I was able to assign the 16TB drive as Disk 1.... frustrated and confused, I proceeded to unassign the 6TB parity disk and assigned the 16TB drive as Disk 1.  I started the array and a data rebuild is underway for Disk 1... yep my frustration got the best of me... now the wait... another 24+ hrs for this step to complete.  At least two 16TB drives have been swapped into the server and I have an available Sata port.    

 

Sorry for all the details, but I figured best to convey as much info as possible as I'm extremely confused why it hung.  Not sure if my issue should have been addressed by 6.12.3 as it included a fix for the "Retry unmounting shares" error; however, I wanted to convey which version I was running while attempting this drive swap.

 

Disk 2 and 3 do not have any data and I have an available Sata port.  How should I proceed?  Any help is appreciated... 

Edited by luisv
Link to comment

Correct... it's building.  I have 4 drives to add and 10 to remove. 

 

Once the build for Disk 1 is complete, I can scatter data from the array onto Disk 1.  Once that is complete, I'll have Disk 2 through 7 empty / no data.  So my question is how to proceed due to the issue / failure of stopping the array?   I rather have the ability to remove a zeroed drive without loosing parity.   

Link to comment

Yes... I set my array to not auto start, upon successful parity sync yesterday, I rebooted, I started and then stopped the array one last time... same issue... so I gave up and I'm currently waiting for the build to complete.  Once the build is complete... what's your recommendation... how should I proceed?   For instance, I can preclear another 16TB drive and add it to the array, then scatter the data from Drives 4 through 7 onto Disk 1 (16TB) and Disk 2 (16TB).  Once that is complete, how should I proceed?  If you have other suggestions, please let me know... thanks for your replies!!  Your time is truly appreciated...

Edited by luisv
Link to comment

No worries at all... I truly appreciate the help.

 

Agreed... stopping the array is more important; however, I'm simply doing what I can during the day as I won't be in front of the server until later tonight.  Pre-clear is currently at 62% and data transfer is estimating 4hrs 52mins to go, so once they are complete, how should I proceed?  

Link to comment
25 minutes ago, JorgeB said:

Try rebooting in safe mode and see if you still have issues stopping the array

Also can you stop theses services (not just the containers and VMs) and does it help if they are stopped?

 

To recap...

  1. In settings, Disable VM and Docker
  2. Reboot in safe mode
  3. Try to stop the array
Link to comment

In normal operation, I can only stop the array if VM and Docker service is stopped; wasn't the case until I upgraded to 6.12.3.

 

If I use instructions from the video posted above and use the script to clear a disk, it finishes the disk clear within seconds... not hours.  Since no errors are present in the log, I try to stop the array... it hangs.  Something doesn't seem right.  

 

I appreciate the help, but this is becoming extremely time consuming as parity checks / disk rebuilds take 24+ hrs.  I'm double confused as the disks I want to remove have zero data on them, so the only bits on them is whatever is needed by the parity disk for a rebuild. 

 

I understand the risks of not having parity; however, since five disks have zero data on them and the other four have gone through several parity checks without issue, how can I remove these empty disks?  Can I disable parity, remove the 5 disks and then start the array and allow parity to rebuild?  My fear is the more testing I do, the more disk rebuilds / parity checks are performed.  I rather not get to a point during troubleshooting that a disk fails.  I rather remove the 5 empty disks and allow parity to build.  Shuffle the remaining data to the new drives, then remove the last 4 disks and allow parity to build one last time?

Link to comment
  • Solution
19 hours ago, luisv said:

how can I remove these empty disks? 

The new config tool will allow assigning (and unassigning) whichever disks you want, any disk assigned to the parity slot(s) will be overwritten with a fresh parity build using only the assigned disks when the array is started.

  • Thanks 1
Link to comment
19 hours ago, JonathanM said:

The new config tool will allow assigning (and unassigning) whichever disks you want, any disk assigned to the parity slot(s) will be overwritten with a fresh parity build using only the assigned disks when the array is started.

 

This worked perfectly for my needs... thanks!   All empty drives have been removed from the array and parity synced.  Currently preclearing the empty drives... 

 

@JorgeB - I understand this doesn't fix the fundamental issue of not being able to stop the array, but once the preclears complete and they are removed from the server, I'll provide an update and will see if I can stop the array normally.  

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.