Question smartctl-SSD-monitoring

shan2020

Junior Member
Dec 18, 2019
8
0
6
I am facing below situation in dell poweredge


Bash:
#server1># smartctl -A /dev/sda -d sat+megaraid,0
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-693.11.6.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org


Read Device Identity failed: megasas_cmd result: 0.0 = 0/45
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

#server1># smartctl -A /dev/sda -d sat+megaraid,0 -T permissive

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-693.11.6.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: megasas_cmd result: 0.0 = 0/45

SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
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: Unknown - Try option -s with argument 'on' to enable it. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
#server1>#smartctl -s on  -d sat+megaraid,0 /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-693.11.6.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: megasas_cmd result: 0.0 = 0/45
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
#server1># smartctl -a -d megaraid,0 /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-693.11.6.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               TOSHIBA
Product:              PX05SMB040Y
Revision:             AS0B
Compliance:           SPC-4
User Capacity:        400,088,457,216 bytes [400 GB]
Logical block size:   512 bytes
LU is resource provisioned, LBPRZ=1
Rotation Rate:        Solid State Device
Form Factor:          2.5 inches
Logical Unit id:      0x50000397cc88c591
Device type:          disk
Transport protocol:   SAS (SPL-3)
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

whereas few other servers I am able to see "SMART DATA SECTION" being displayed as below.

Bash:
#server2>#smartctl -A /dev/sda -d sat+megaraid,3
smartctl 5.43 2016-09-28 r4347 [x86_64-linux-2.6.32-696.20.1.el6.x86_64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000e   130   130   039    Old_age   Always       -       5757
  5 Reallocated_Sector_Ct   0x0033   100   100   001    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       15048
I would like to know how i can enable and see those "SMART DATA SECTION"
 

fzabkar

Member
Jun 14, 2013
166
46
101
/dev/sda appears to be a SATA device whereas /dev/sdb is SAS (SCSI). The SMART data have completely different formats.

What is the configuration of your storage devices and controllers?
 

shan2020

Junior Member
Dec 18, 2019
8
0
6
I am not sure does /dev/sda or /dev/sdb matters here.. because those are logical but physical disk is 0
so passing
-d sat+megaraid,0

sorry, couldn't get you about "configuration of your storage devices and controllers?" could you share some insights
 
Last edited:

fzabkar

Member
Jun 14, 2013
166
46
101
It looks to me that you have a RAID card to which you have attached at least one SATA drive and one SAS drive. I'm wondering whether any drives are actually RAID-ed, or connected as a JBOD array, or just connected individually.

smartctl needs be invoked with parameters which are specific to the type of RAID controller. Also, SAS and SATA drives use different command sets (ATA versus SCSI), and their SMART reporting differs accordingly.
 

shan2020

Junior Member
Dec 18, 2019
8
0
6
Hi @fzabkar,

Thanks for your reply.
Yes its already in Raid-1 configuration and it's connected with "PERC H710 Mini" controller.
as you have mentioned this disk seems to are SAS.
Any recommendations for montoring SAS SSD ?

whereas the data I can retrieve is configured are SATA.
thanks for elaborating your message
 
Last edited: