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.

How to install Clear An Array Drive script to remove an existing disk from unraid

Featured Replies

Hi,

I am currently running an a 10 disk setup comprising some 3TB and 4TB disks. I am using Unraid v6.8.3 at the moment. I wanted to remove an existing old 2TB drive from the array and I have tried to follow the wiki page to shrink the array. I can follow up to step 7.

 

Shrink array - Unraid | Docs

 

In step 8 - it says to run the "clear an array drive" script from the user script plugin. I have installed the user script plugin but i cant locate this particular "Clear an array drive" script on unraid and It is not shown in the directory /boot/config/plugins/user.scripts.

 

How do I install this script?

 

Thanks

 

Solved by itimpi

  • Community Expert

There is a link given as part of step 8 to the post where you can get the script.

  • Author
58 minutes ago, itimpi said:

There is a link given as part of step 8 to the post where you can get the script.

Thanks. I did that - and I thought that the script has been installed - but the script is not shown in the /boot/config/plugins/user.scripts directory. 

 

Could it have been installed to another directory? How do I check please? I try to do a whereis command but I couldnt find the script on the nas.

  • Community Expert
  • Solution
1 hour ago, fliptoback said:

Thanks. I did that - and I thought that the script has been installed - but the script is not shown in the /boot/config/plugins/user.scripts directory. 

 

Could it have been installed to another directory? How do I check please? I try to do a whereis command but I couldnt find the script on the nas.

I think you have to copy/paste it into a new script entry within the User Scripts plugin.

  • Author

Thanks itimpi. I managed to get this to work now. Cheers for helping.

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...

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.