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.

Full SMART status of drives

Featured Replies

Is there any way to see the full output of the SMART status of each drive in the Tower?

For example Reallocated_sector_Ct (count)?

 

See below a report that a friend of mine showed me with all the parameters for SMART...

 

RAW_VALUE

1 Raw_Read_Error_Rate 0x000f 097 097 006 Pre-fail Always - 165887931

3 Spin_Up_Time 0x0003 095 089 000 Pre-fail Always - 0

4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 40

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

7 Seek_Error_Rate 0x000f 063 060 030 Pre-fail Always - 2529472

9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 38

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

12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 46

187 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0

189 Unknown_Attribute 0x003a 100 100 000 Old_age Always - 0

190 Temperature_Celsius 0x0022 056 055 045 Old_age Always - 756547628

194 Temperature_Celsius 0x0022 044 045 000 Old_age Always - 44 (Lifetime Min/Max 0/20)

195 Hardware_ECC_Recovered 0x001a 060 048 000 Old_age Always - 66776607

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

200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0

202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0

 

Can we run this report on the command line? Can we have that integrated in the web interface?

  • 2 weeks later...
  • Author

Bump, Tomm, is there any way to get this report from the drives using Unraid?

Copy the file 'smartctl' (a program) from the download directory to the root of your Flash.  Then from a telnet session, type:

 

  /boot/smartctl  -a  /dev/sda

 

Look at the Devices page for the device identifer (within the parentheses) for each disk and substitute that for 'sda' on the command line.

 

This command will print out the SMART info for the drive.  We'll try to get this command into the 4.1 release.

  • Author

You are the man.

Thanks Tomm!

  • Author

This is the report I get from the server when testing on one of the drives:

 

 

Tower login: root

Linux 2.6.20.

root@Tower:~# /boot/smartctl -a /dev/sda

smartctl version 5.36 [i486-slackware-linux-gnu] Copyright © 2002-6 Bruce Alle

n

Home page is http://smartmontools.sourceforge.net/

 

Device: ATA      ST3500630AS      Version: 3.AA

Serial number:             [gnollowiped]

Device type: disk

Local Time is: Mon Jul  9 08:21:53 2007 GMT

Device does not support SMART

 

Error Counter logging not supported

 

[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']

Device does not support Self Test logging

root@Tower:~#

 

 

I get the same message "device does not support SMART" on all the drives. They are all Seagate 500GB Sata, and all give me temperature readings using the unraid front end when disks are not spun down.

I started a parity check, to spin the disks up, and run another test.

Same result.

 

  • Author

I started a parity check, to spin drives up, and they all give me temp reading of around 25C for now.

Retested with same result

Reading temperatures uses SMART commands.  Could be we need a later version of smartctl (probably a SATA support issue).  I'll look into it.

  • 2 weeks later...
  • Author

Hi Tomm,

 

did you have any luck with finding an updated version of smartctl?

 

Regards

Sorry not yet  :-\

I haven't forgotten about this though...

  • Author

Found the right command by reading some instructions on the web.

 

Using <b>"/boot/smartctl -a -d ata /dev/sde"</b>

 

I got the following report

 

============================================================================

smartctl version 5.36 [i486-slackware-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     ST3500641AS
Serial Number:    3PM0VS0Z
Firmware Version: 3.AAJ
User Capacity:    500,107,862,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   7
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Jul 23 14:56:47 2007 GMT
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:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
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:                 ( 430) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No 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.

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   108   097   006    Pre-fail  Always       -       130
255777
  3 Spin_Up_Time            0x0003   086   085   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       143
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   075   060   030    Pre-fail  Always       -       311
90484
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       616
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       22
187 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
189 Unknown_Attribute       0x003a   100   100   000    Old_age   Always       -       0
190 Unknown_Attribute       0x0022   073   061   045    Old_age   Always       -       454
754331
194 Temperature_Celsius     0x0022   027   040   000    Old_age   Always       -       27
(Lifetime Min/Max 0/22)
195 Hardware_ECC_Recovered  0x001a   058   054   000    Old_age   Always       -       149
146565
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
200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
202 TA_Increase_Count       0x0032   100   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

root@Tower:~#

Ahhh.. the

-d ata

switch.  Thanks for looking that up.

 

Also, I modified your post to put the output inside "Teletype" format tags so that it reads better, hope you don't mind.

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.