Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Aborted "Clear an Array Drive" Script Keeps Running

Featured Replies

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.

2021-06-01_10-12-44.jpg

Edited by Gico

  • Gico changed the title to Aborted "Clear an Array Drive" Script Keeps Running
  • Author

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?

  • Author

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.

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.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.