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.

unMenu Disk Management, smartctl without "-d ata" HOW?

Featured Replies

I have some disks on one of my LSI 9210-8i and can't get smartctl to work in the unMenu "Disk Management" page.  This seems to be because when a smartctl button is pressed in the "Disk Management" page the command is given with the -d ata argument.  This will not work for drives on an LSI controller because the drives are seen as scsi not ata.

 

For example, if I press the button for a short smart test unMenu send the command:

 

smartctl -t short -d ata /dev/sdc

 

and then I get the error:

 

Read Device Identity failed: Invalid argument

 

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

 

If I connect to Tower through telnet and simply type:

 

smartctl -a /dev/sdc

 

Then I get a complete smart report.

 

How can I change unMenu to leave out the -d ata argument?

 

Thanks,

craigr

You could modify the correct awk files like I did at first.  Or you could click on the drive ID link (graphic 1) and add "smartopt -A" (graphic 2).

MyMenuDiskLink.png.799d4e7721508ffb210a87032aba714b.png

smartopt.png.a59540e71af8a73fa00b0a3ce437d117.png

  • Author

Thanks for your reply.

 

Unfortunately I had already done as you suggested.  I added the "smartopt -A" to the "My Main" "Disk Configuration" page.  This did allow for me to see the temperatures in My Main, but it does not seem to carry over to the unMenu "Disk Management" page.  The two pages must be getting their configurations for arguments from different areas.

 

If you have any other ideas I will be happy to try.

 

Kind regards,

craigr

The unMenu "Disk Management" page is handled by file "09-unmenu-disk_mgmt.awk" in your unmenu directory.  You would need to edit this file and remove all instances of "-d ata" and add the following line to the top of the file to prevent the file from being overwritten by the update process:

 

#AUTO_UPDATE=NO

 

I'd also recommend run the update process before making changes to make sure you have the latest version of unmenu.

  • Author

The unMenu "Disk Management" page is handled by file "09-unmenu-disk_mgmt.awk" in your unmenu directory.  You would need to edit this file and remove all instances of "-d ata" and add the following line to the top of the file to prevent the file from being overwritten by the update process:

 

#AUTO_UPDATE=NO

 

I'd also recommend run the update process before making changes to make sure you have the latest version of unmenu.

Thanks, that worked perfectly.

 

I wish there were a way in unMenu to schedule smart tests and then have the results emailed.  I'd really like to have a smart test run on each drive daily at around 4:00 AM.

 

Thanks again,

craigr

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.