Gico Posted June 1, 2021 Share Posted June 1, 2021 (edited) So after a day and a half of running the above script (array disk clearing) I calculated how long it will take, and it's more than a month, so I aborted it. Thing is the "WRITES" column in MAIN screen show that it's still active. Nothing access the drive and it's still empty. No "Abort" button for the script anymore. Edited June 1, 2021 by Gico Quote Link to comment
Gico Posted June 1, 2021 Author Share Posted June 1, 2021 So apparently "if the script called a long running command at the time of abort (something like find) then that command will run to completion." Can I kill this script? How do I identify the relevant process? The disk would probably be unmountable. How can I format it while preserving parity? Quote Link to comment
Gico Posted June 2, 2021 Author Share Posted June 2, 2021 To return to the state before running the script : disk18 is part of the array and working normally. Anyway I managed to solve the issue: Found the running process of the script through: ps -axjf Killed the script process through: kill -9 <process-id> Stopped the array, started it and formatted disk18 which was unmountable. Thanks. Quote Link to comment
JonathanM Posted June 2, 2021 Share Posted June 2, 2021 6 hours ago, Gico said: To return to the state before running the script : disk18 is part of the array and working normally. I asked because running that script is normally a precursor to removing a drive, and the best way forward depended on a whole bunch of factors, especially since you said 22 hours ago, Gico said: while preserving parity? So, given that you just wanted to go back to using the drive in the array, you did exactly what was needed. 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.