Jump to content

Preclear SMART info


SliMat

Recommended Posts

Hi

 

I wanted to check the age of some second hand disks which I have precleared ready to use. I noticed in the preclear report it lists a "TIMESTAMP" attribute...

"MOUNTED": false,
        "RUNNING": true,
        "TIMESTAMP": 1607962338,
        "TEMP": "0",
        "NAME": "sdb",
        "PRECLEAR": true

Can anyone confirm this is the powered on time from SMART and what units it shows... e.g. milliseconds, seconds, minuters etc? I ask what units as if this assumption is correct the above file (if units is seconds) shows its been running for 51 years!

 

Thanks in advance.

Edited by SliMat
Link to comment
26 minutes ago, ChatNoir said:

Why don't you just look at the Power on hours attribute on SMART ?

I am preclearing some disks on an HP server which is only running a trial version of UnRAID before moving them to a production server... where can I get the SMART info from? I am not sure where I can get the SMART info from. I have been looking for a Linux tool which can ideally be used from a bootable USB key. The closest I have found is smartctl in Ubuntu.

Link to comment
14 minutes ago, trurl said:

Click on the disk in the Unraid webUI and look at its Attributes section or download its SMART report under Self-Test

I may have been a bit premature... when I download the SMART report it shows;

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdk: requires option '-d cciss,N'
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

I think this is because the array is SAS disks, so smartctl needs the "- d scsi" flag set - but I dont know if (or how) this can be set in UnRAID.

Link to comment

So on the downloaded SMART report it doesnt list POH... or am I missing something;

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              MM0500FBFVQ
Revision:             HPD9
Compliance:           SPC-3
User Capacity:        500,107,862,016 bytes [500 GB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000c50042209a87
Serial number:        XXXXXXXXXXXXXXXXXXXXX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Dec 14 23:17:16 2020 GMT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Disabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 3

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging

 

Link to comment
3 minutes ago, Squid said:

 

Did you try the HP cciss option?

I hadnt... when I first tried it, it just came up with an error - till I realised that disk 9 is actually disk index 8 as it goes from 0-15 on my 16 disk array 🙂

 

Once I put this right, it did download a SMART report... but still no POH 🤔

 

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-4.19.107-Unraid] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               HP
Product:              MM0500FBFVQ
Revision:             HPD9
Compliance:           SPC-3
User Capacity:        500,107,862,016 bytes [500 GB]
Logical block size:   512 bytes
Rotation Rate:        7200 rpm
Form Factor:          2.5 inches
Logical Unit id:      0x5000c50042209a87
Serial number:        XXXXXXXXXXXXXX
Device type:          disk
Transport protocol:   SAS (SPL-3)
Local Time is:        Mon Dec 14 23:37:19 2020 GMT
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled
Read Cache is:        Enabled
Writeback Cache is:   Disabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Elements in grown defect list: 3

Error Counter logging not supported

Device does not support Self Test logging
Device does not support Background scan results logging

 

Link to comment

I thought I would try this on another server I have running SATA disks and the SMART report is much more detailed... there is a section which lists the POH properly... so it looks like this is something to do with the fact the disks are SAS ?!?!?

 

Part or the SATA disks SMART report...

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   166   166   021    -    6658
  4 Start_Stop_Count        -O--CK   099   099   000    -    1998
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   100   253   000    -    0
  9 Power_On_Hours          -O--CK   091   091   000    -    7010
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    11
192 Power-Off_Retract_Count -O--CK   200   200   000    -    5
193 Load_Cycle_Count        -O--CK   198   198   000    -    7383
194 Temperature_Celsius     -O---K   121   111   000    -    29
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0

 

Link to comment

OK, looks like I have got to the bottom of why POH is missing... my array has a number of different disks... I have some 2Tb Seagate disks - when I checked one of these I get a lot of SMART information including POH. I also have some 600Gb "HP" disks - these also show POH. However the 1Tb "HP" disks done show much SMART info... so it looks like the problem is that not all the disks report all the correct SMART data.

 

I'm not sure if there is a way to enable SMART reporting on the disks which dont seem to support it... so, if anyone knows please do let me know.

 

Thanks everyone whos helped 🙂

Link to comment
31 minutes ago, SliMat said:

I realised that disk 9 is actually disk index 8 as it goes from 0-15 on my 16 disk array

It is best to not think in those terms but instead just consider which "slot" in the Unraid disk assignments each disk is assigned to.

 

Slot0 is considered to be the parity slot in Unraid as you can see in the syslog.

Link to comment

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...