December 18, 20178 yr Hi I want to remove a drive but are having some isuses here. I follow this procedure ( https://wiki.lime-technology.com/Shrink_array ): But have some issues along the way. Can someone help me with point nr 15? Procedure Make sure that the drive you are removing has been removed from any inclusions or exclusions for all shares, including in the global share settings. Make sure the array is started, with the drive assigned and mounted. Make sure you have a copy of your array assignments, especially the parity drive. You may need this list if the "Retain current configuration" option doesn't work correctly. It is highly recommended to turn on reconstruct write, as the write method (sometimes called 'Turbo write'). With it on, the script can run 2 to 3 times as fast, saving hours! In Settings -> Disk Settings, change Tunable (md_write_method) to reconstruct write. Make sure ALL data has been copied off the drive; drive MUST be completely empty for the clearing script to work. Double check that there are no files or folders left on the drive. Note: one quick way to clean a drive is reformat it! (once you're sure nothing of importance is left of course!) Create a single folder on the drive with the name clear-me - exactly 7 lowercase letters and one hyphen Run the clear an array drive script from the User Scripts plugin (or run it standalone, at a command prompt). Have not cleared the drive as I dont care about the data on it + the procedure to do it seemed way to advanced for me! If you prepared the drive correctly, it will completely and safely zero out the drive. If you didn't prepare the drive correctly, the script will refuse to run, in order to avoid any chance of data loss. If the script refuses to run, indicating it did not find a marked and empty drive, then very likely there are still files on your drive. Check for hidden files. ALL files must be removed! Clearing takes a loooong time! Progress info will be displayed, in 6.2 or later. Prior to 6.2, nothing will show until it finishes. If running in User Scripts, the browser tab will hang for the entire clearing process. While the script is running, the Main screen may show invalid numbers for the drive, ignore them. Important! Do not try to access the drive, at all! When the clearing is complete, stop the array Go to Tools then New Config Click on the Retain current configuration box (says None at first), click on the box for All, then click on close Click on the box for Yes I want to do this, then click Apply then Done Return to the Main page, and check all assignments. If any are missing, correct them. Unassign the drive(s) you are removing. Double check all of the assignments, especially the parity drive(s)! Click the check box for Parity is already valid, make sure it is checked! Where the heck is this check box?? Start the array! Click the Start button then the Proceed button (on the warning popup that will pop up) Parity should still be valid, however it's highly recommended to do a Parity Check Edited December 18, 20178 yr by mrvilla
December 18, 20178 yr Community Expert 13 minutes ago, mrvilla said: Have not cleared the drive as I dont care about the data on it + the procedure to do it seemed way to advanced for me! The procedure only works if the drive is cleared, or else parity won't be valid when you remove it.
December 18, 20178 yr Author 1 minute ago, johnnie.black said: The procedure only works if the drive is cleared, or else parity won't be valid when you remove it. Ok, so since the procedure is to advanced I wil never be able to remove the drive? Cant i just stop the array remove it and start the aray again? Why all the hazzle?
December 18, 20178 yr Community Expert Didn't you see method 1, it's much simpler, though it requires a parity sync: https://wiki.lime-technology.com/Shrink_array#The_.22Remove_Drives_Then_Rebuild_Parity.22_Method
December 18, 20178 yr Author 2 minutes ago, johnnie.black said: Didn't you see method 1, it's much simpler, though it requires a parity sync: https://wiki.lime-technology.com/Shrink_array#The_.22Remove_Drives_Then_Rebuild_Parity.22_Method I saw this method but got the impression that it was not suited for me as I did not see the point of rebuilding the parity as all data is already stored on the only one drive. Not sure why i discarded it so fast. Will try this and see if it works out. Thanks
December 18, 20178 yr Community Expert You only have those 2 options, remove the drive without clearing and re-sync parity or clear the drive before removing to maintain parity, due to how parity works there's no other possibility.
December 19, 20178 yr 7 hours ago, mrvilla said: I saw this method but got the impression that it was not suited for me as I did not see the point of rebuilding the parity as all data is already stored on the only one drive. Not sure why i discarded it so fast. Will try this and see if it works out. Thanks The contents of the parity drive is the result of a mathematical operation on the data on the data drives. You either have to invalidate and rebuild the parity drives, or perform a mathematical operation on the data drive to make the data drive a null-contributor to the parity. Rewriting the old data drive into a null-contributor means you maintain parity, allowing you to recover from a disk failure. Going the simpler route of just unplugging a data drive and rebuild the parity means you are unprotected until the parity has been rebuilt. It's up to you if you want simplicity or security.
December 19, 20178 yr Author I understand. I have now followed the first procedure with rebuilding from the parity for the disk that were left, but now I can not access the server.... WIll try again later to see what caused this. I would expect the server to run even though I would do something wrong..... EDIT: No worries. It was the post that stopped the startup. Running fine now. Edited December 19, 20178 yr by mrvilla
Archived
This topic is now archived and is closed to further replies.