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.

Automatic extended SMART checks

Featured Replies

Hello!

 

I am trying to set up automated extended SMART checks for my server on a schedule (every few months).

However I was not able to find out a solution that is already available - e.g. native unraid tool.

 

Thus, I want to set it up via user scripts and a snippet that I found:

for i in {b..o}; do
    smartctl --test=long /dev/sd$i
done

This snippet works well with short SMART tests.

However I could not find a solution to disable the spin down of my hard drives programmatically - which would be necessary, since I don't want to disable it manually every time a SMART test is scheduled.

 

Do you have a nice solution for that, or maybe you know how to set the spin down settings via terminal?

 

 

Thanks in advance!

Greetings

  • 4 months later...

I am also trying to do this.  Does anyone know of a way to disable the spin down via the command line so it can be included in a script?  Thanks very much in advance.

  • 11 months later...
On 7/30/2023 at 1:53 AM, chmp2k said:

I am trying to set up automated extended SMART checks for my server on a schedule (every few months).

However I was not able to find out a solution that is already available - e.g. native unraid tool.

This is because doing a Parity check effectively completes an extended SMART check of all your protected pool drives.

So just use the scheduled Parity check option in unRAID.

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.