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 config UNRAID SMARTCTL for use with my 3ware 9650SE

Featured Replies

I am new to unraid and just purchased the PRO license. I run v4.7

 

I have the 3ware 9650se-24m8 and I have figured out in the console to get smartctl to show SMART status via:

 

smartctl -d 3ware,0 -a /dev/twa0

 

Where 0 is the drive number.

 

Now when I use UMENU or the normal //tower menu - I do not get to see the same SMART status, and I presume it is due to unraid standard setup not being the same as above.

 

Q: How and where can I make settings so that my drives DO show up in webpages?

short answer is you can't.

 

long answer is you can't.

 

Send Limetech a message about getting smart reports and what you have found, and they might be able to get it added.

In myMain, you can go into a drive's attributes and set an attribute call "smartopt" to "-d 3ware,0". This should enable temperature and smart scene functionality in myMain. Post back if you have questions and I can help you get this configured properly. For anyone with a BR10i controller, setting smartopt to "-A" is needed for each affected drive.

  • Author

@bjp999 - Thanks for your offer to help!

 

I must be doing something SIMPLE wrong?

 

Below is what I did based on your post, but I don't see the result, not in the "MyMAIN" screen, nor when I press "SMART"?

Tower_unRAID_Server.jpg.44ecce29199ebc1d953b26a839e66510.jpg

myMain_Utility_-_smartctl_-a_-d_ata__dev__parity.jpg.ea3afc346bc95972799dec3daed8880e.jpg

58aad6888e54d_myMain_-_Disk___no__Configuration.jpg.68c03b7d7bf89478aca2022f04d77737.jpg

This may be the issue:

/dev/twa0

 

Can you get it to work with /dev/sdX?

  • Author

This may be the issue:

/dev/twa0

 

Can you get it to work with /dev/sdX?

 

Well the console version I used above DOES work with "smartctl -d 3ware,0 -a /dev/twa0" but *not* with "smartctl -d 3ware,0 -a /dev/sdA" - besides, where would I change that in the WEB interface?

It would have to be, "smartctl -d 3ware,0 -a /dev/sda"

 

What about, "smartctl -d 3ware,0 /dev/sda"

 

This assumes 0 is sda.

  • Author

@dgaschk

 

I have put in a txtlog, remember though I am trying to get the "MyMAIN" working - NOT the console (as that works fine as you can see in the txtlog)

3ware_SMARTCTL_log.pdf

We have to know what works in the console before getting it to work in unMenu.

 

EDIT: the fact that it works with /dev/sda should be helpful. Getting it to work using /dev/twa0 would make the job harder.

  • Author

We have to know what works in the console before getting it to work in unMenu.

 

Thanks for your help and patience!

 

So what WORKS in the console is this:

 

smartctl -d 3ware,0 -a /dev/twa0

 

where 0 is the drive (so change to 1 gives smartinfo for "sdb", 2 for "sdc" etc

Do either of these work in the console:

 

"smartctl -d 3ware,0 -a /dev/sda"

(I saw this in your attachment. Does it work or not?)

 

Does this work:

"smartctl -d 3ware,0 /dev/sda

 

EDIT: nevermind. I see neither work.

unmenu is calling smartctl with the options you provided on /dev/sda. It needs to be changed to /dev/twa0 within unMenu.

What happens when you enter "smartctl -d 3ware,0 -a -T permissive /dev/sda" and "smartctl -d 3ware,0 -a -T verypermissive /dev/sda"

  • Author

What happens when you enter "smartctl -d 3ware,0 -a -T permissive /dev/sda" and "smartctl -d 3ware,0 -a -T verypermissive /dev/sda"

 

on "smartctl -d 3ware,0 -a -T permissive /dev/sda"

 

 

root@Tower:/boot# smartctl -d 3ware,0 -a -T permissive /dev/sda

smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

 

=== START OF INFORMATION SECTION ===

Device Model:    [No Information Found]

Serial Number:    [No Information Found]

Firmware Version: [No Information Found]

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:  1

ATA Standard is:  Exact ATA specification draft version not indicated

Local Time is:    Thu Apr  7 14:46:22 2011 PDT

SMART is only available in ATA Version 3 Revision 3 or greater.

We will try to proceed in spite of this.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.

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

 

------------------------------------

 

And on "smartctl -d 3ware,0 -a -T verypermissive /dev/sda"

 

root@Tower:/boot# smartctl -d 3ware,0 -a -T verypermissive /dev/sda

smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

 

=== START OF INFORMATION SECTION ===

Device Model:    [No Information Found]

Serial Number:    [No Information Found]

Firmware Version: [No Information Found]

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:  1

ATA Standard is:  Exact ATA specification draft version not indicated

Local Time is:    Thu Apr  7 14:46:57 2011 PDT

SMART is only available in ATA Version 3 Revision 3 or greater.

We will try to proceed in spite of this.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.

                  Checking for SMART support by trying SMART ENABLE command.

Error SMART Enable failed: Input/output error

                  SMART ENABLE failed - this establishes that this device lacks SMART functionality.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.

                  Checking to be sure by trying SMART RETURN STATUS command.

SMART support is: Unavailable

 

SMART Disabled. Use option -s with argument 'on' to enable it

 

Try "smartctl -d 3ware,0 -a -T -s on verypermissive /dev/sda" twice.

 

Try "smartctl -d 3ware,0 -a -s on -T verypermissive /dev/sda" twice.

 

Fixed a typo.

  • Author

 

Try "smartctl -d 3ware,0 -a -s on -T verypermissive /dev/sda" twice.

 

Fixed a typo.

 

This is the output I get:

 

 

root@Tower:/boot# smartctl -d 3ware,0 -a -s on -T verypermissive /dev/sda

smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

 

=== START OF INFORMATION SECTION ===

Device Model:     [No Information Found]

Serial Number:    [No Information Found]

Firmware Version: [No Information Found]

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:   1

ATA Standard is:  Exact ATA specification draft version not indicated

Local Time is:    Thu Apr  7 15:12:10 2011 PDT

SMART is only available in ATA Version 3 Revision 3 or greater.

We will try to proceed in spite of this.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.

                 Checking for SMART support by trying SMART ENABLE command.

Error SMART Enable failed: Input/output error

                 SMART ENABLE failed - this establishes that this device lacks SMART functionality.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.

                 Checking to be sure by trying SMART RETURN STATUS command.

SMART support is: Unavailable

 

=== START OF ENABLE/DISABLE COMMANDS SECTION ===

Error SMART Enable failed: Input/output error

Smartctl: SMART Enable Failed.

 

SMART Disabled. Use option -s with argument 'on' to enable it.

root@Tower:/boot# smartctl -d 3ware,0 -a -s on -T verypermissive /dev/sda

smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

 

=== START OF INFORMATION SECTION ===

Device Model:     [No Information Found]

Serial Number:    [No Information Found]

Firmware Version: [No Information Found]

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:   1

ATA Standard is:  Exact ATA specification draft version not indicated

Local Time is:    Thu Apr  7 15:12:12 2011 PDT

SMART is only available in ATA Version 3 Revision 3 or greater.

We will try to proceed in spite of this.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.

                 Checking for SMART support by trying SMART ENABLE command.

Error SMART Enable failed: Input/output error

                 SMART ENABLE failed - this establishes that this device lacks SMART functionality.

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.

                 Checking to be sure by trying SMART RETURN STATUS command.

SMART support is: Unavailable

 

=== START OF ENABLE/DISABLE COMMANDS SECTION ===

Error SMART Enable failed: Input/output error

Smartctl: SMART Enable Failed.

 

SMART Disabled. Use option -s with argument 'on' to enable it.

 

Hmmmm ... Who could the author be ...

 

Obiwantje -

 

Below is a link to a zip file containing updates to some of the myMain files.  You need to unzip this into your unmenu directory.  (You might want to create a backup of the entire unmenu directory first to be safe).

 

You will need to add the "/dev/twa0" to your "smartopt" setting ...

 

smartopt      -d 3ware,0 /dev/twa0

 

Give that a shot and see if it works.  Post your results.

 

MYMAIN 4-7-11

bjp999,

 

Many thanks for a wonderful job.

 

Thanks! :)

  • Author

 

You will need to add the "/dev/twa0" to your "smartopt" setting ...

 

smartopt       -d 3ware,0 /dev/twa0

 

Give that a shot and see if it works.  Post your results.

 

MYMAIN 4-7-11

 

First off: THANKS for helping!

 

I tried it, but it does not seem to work, unless I am doing something wrong. I first did a clean install of unmenu, then the updates, and lastly overwrote the files and restarted unmenu.

 

Tower_unRAID_Server-1.jpg.d913dd54b6ac767d6db63d26109841a2.jpg

myMain_Utility_-_smartctl_-a_-d_ata__dev__parity.jpg.e00fd86d1ad128e5ccca43162dedd1ff.jpg

58aad688c7908_myMain_-_Disk___no__Configuration.jpg.c13866fe30540fde6ea08412e85f581e.jpg

Were you getting a valid serial number before?  The setting I changed won't help it you're not getting a valid serial number to identify the disk.

 

UPDATE:

 

I went back and looked at your old screen shots.  (That's the problem with reading posts using the text model reader - you miss the screenshots!)

 

Let's back up a step.

 

Open a telnet prompt and run this command ...

 

/root/mdcmd status|strings > /boot/mdstatus.txt

 

Then post the mdstatus.txt file from your flash disk.

  • Author

No I was not.

 

This is what DOES work from the console:

 

 

root@Tower:~# smartctl -d 3ware,0 -a /dev/twa0

 

 

smartctl 5.39.1 2010-01-28 r3054 [i486-slackware-linux-gnu] (local build)

Copyright © 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

 

=== START OF INFORMATION SECTION ===

Device Model:    ST32000542AS

Serial Number:    5XW138R8

Firmware Version: CC34

User Capacity:    2,000,398,934,016 bytes

Device is:        Not in smartctl database [for details use: -P showall]

ATA Version is:  8

ATA Standard is:  ATA-8-ACS revision 4

Local Time is:    Fri Apr  8 14:35:00 2011 PDT

SMART support is: Available - device has SMART capability.

SMART support is: Enabled

 

=== START OF READ SMART DATA SECTION ===

SMART overall-health self-assessment test result: PASSED

 

General SMART Values:

Offline data collection status:  (0x00) Offline data collection activity

was never started.

Auto Offline Data Collection: Disabled.

Self-test execution status:      (  0) The previous self-test routine completed

without error or no self-test has ever

been run.

Total time to complete Offline

data collection: ( 623) seconds.

Offline data collection

capabilities: (0x73) SMART execute Offline immediate.

Auto Offline data collection on/off support.

Suspend Offline collection upon new

command.

No Offline surface scan supported.

Self-test supported.

Conveyance Self-test supported.

Selective Self-test supported.

SMART capabilities:            (0x0003) Saves SMART data before entering

power-saving mode.

Supports SMART auto save timer.

Error logging capability:        (0x01) Error logging supported.

General Purpose Logging supported.

Short self-test routine

recommended polling time: (  1) minutes.

Extended self-test routine

recommended polling time: ( 255) minutes.

Conveyance self-test routine

recommended polling time: (  2) minutes.

SCT capabilities:       (0x103f) SCT Status supported.

SCT Feature Control supported.

SCT Data Table supported.

 

SMART Attributes Data Structure revision number: 10

Vendor Specific SMART Attributes with Thresholds:

ID# ATTRIBUTE_NAME          FLAG    VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE

  1 Raw_Read_Error_Rate    0x000f  112  100  006    Pre-fail  Always      -      48951713

  3 Spin_Up_Time            0x0003  100  100  000    Pre-fail  Always      -      0

  4 Start_Stop_Count        0x0032  100  100  020    Old_age  Always      -      3

  5 Reallocated_Sector_Ct  0x0033  100  100  036    Pre-fail  Always      -      0

  7 Seek_Error_Rate        0x000f  100  253  030    Pre-fail  Always      -      412611

  9 Power_On_Hours          0x0032  100  100  000    Old_age  Always      -      64

10 Spin_Retry_Count        0x0013  100  100  097    Pre-fail  Always      -      0

12 Power_Cycle_Count      0x0032  100  100  020    Old_age  Always      -      3

183 Runtime_Bad_Block      0x0032  100  100  000    Old_age  Always      -      0

184 End-to-End_Error        0x0032  100  100  099    Old_age  Always      -      0

187 Reported_Uncorrect      0x0032  100  100  000    Old_age  Always      -      0

188 Command_Timeout        0x0032  100  100  000    Old_age  Always      -      0

189 High_Fly_Writes        0x003a  092  092  000    Old_age  Always      -      8

190 Airflow_Temperature_Cel 0x0022  073  064  045    Old_age  Always      -      27 (Lifetime Min/Max 25/36)

194 Temperature_Celsius    0x0022  027  040  000    Old_age  Always      -      27 (0 25 0 0)

195 Hardware_ECC_Recovered  0x001a  054  052  000    Old_age  Always      -      48951713

197 Current_Pending_Sector  0x0012  100  100  000    Old_age  Always      -      0

198 Offline_Uncorrectable  0x0010  100  100  000    Old_age  Offline      -      0

199 UDMA_CRC_Error_Count    0x003e  200  200  000    Old_age  Always      -      0

240 Head_Flying_Hours      0x0000  100  253  000    Old_age  Offline      -      62723702390832

241 Total_LBAs_Written      0x0000  100  253  000    Old_age  Offline      -      916374968

242 Total_LBAs_Read        0x0000  100  253  000    Old_age  Offline      -      354696985

 

SMART Error Log Version: 1

No Errors Logged

 

SMART Self-test log structure revision number 1

No self-tests have been logged.  [To run self-tests, use: smartctl -t]

 

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.