Seagate Enterprise SAS drives not showing info
grandmasterv opened this issue · comments
Hello Louwrentius,
I'm having a problem getting proper output from showtools on our new ZFS file server. I can't seem to get showtools to list many attributes of the Seagate SAS enterprise drives we are using. Intel SSD's connected to the same controller have no problem reporting their attributes. I have omitted the DM devices for clarity.
Example Output
[root@master]# ./show disk -mSDftHPrRCun
----------------------------------------------------------------------------------------------------------------------------------------------
| Dev | Model | Serial Number | State | Firmware | Temp | Hours | PS | RS | RSE | CRC | Spin | Park |
----------------------------------------------------------------------------------------------------------------------------------------------
| sda | INTEL SSDSC2BB240G6 | PHWA62650284240AGN | active/idle | G2010140 | 25 | 169 | 0 | 0 | ? | 0 | ? | ? |
| sdaa | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdab | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdac | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdad | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdae | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdaf | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdag | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdah | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdai | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdaj | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdak | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdal | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdam | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdan | | | standby | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdb | INTEL SSDSC2BB240G6 | PHWA62650283240AGN | active/idle | G2010140 | 24 | 169 | 0 | 0 | ? | 0 | ? | ? |
| sdc | INTEL SSDSC2BB800G6 | BTWA6172022F800HGN | active/idle | G2010140 | 25 | 169 | 0 | 0 | ? | 0 | ? | ? |
| sdd | INTEL SSDSC2BB800G6 | BTWA6172022K800HGN | active/idle | G2010140 | 25 | 169 | 0 | 0 | ? | 0 | ? | ? |
| sde | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdf | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdg | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdh | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdi | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdj | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdk | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdl | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdm | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdn | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdo | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdp | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdq | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdr | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sds | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdt | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdu | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdv | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdw | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdx | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdy | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdz | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
----------------------------------------------------------------------------------------------------------------------------------------------
SMARTCTL output for Seagate drive:
[root@master]# smartctl -i /dev/sdaa
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.28.2.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST6000NM0034
Revision: E005
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Lowest aligned LBA: 0
Logical block provisioning type unreported, LBPME=0, LBPRZ=0
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50096f2eff7
Serial number: S4D0R4870000K63848MQ
Device type: disk
Transport protocol: SAS
Local Time is: Mon Aug 22 16:22:37 2016 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
SMARTCTL output for Intel drive
[root@master]# smartctl -i /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.28.2.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: INTEL SSDSC2BB240G6
Serial Number: PHWA62650284240AGN
LU WWN Device Id: 5 5cd2e4 04c7dab64
Firmware Version: G2010140
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Aug 22 17:30:25 2016 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Server Hardware:
- Dell PowerEdge R410 Server (SN: B4J6Zk1)
- 128GB RAM (8 x 16GB ECC RDIMMS) - Currently only 12GB RAM, waiting on more RAM
- 2 x Intel 540s 240GB SATA SSDs for OS (Software MD RAID1 with /, swap, and boot partitions) - Installed in head server
- 2 x Intel 540s 240GB SATA SSDs ZFS RAID1 for SLOG - Installed in JBOD
- 1 x Intel 540s 800GB SATA SSDs for Write Cache - Installed in JBOD
- 1 x Intel 540s 800GB SATA SSDs for Read Cache - Installed in JBOD
- 1 x Supermicro 45-Bay (CSE-847E2C-R1K28JBOD)JBOD connected via 1 External SAS Cable.
- 35 x 6TB Seagate Enterprise SAS Drives ST6000NM003401
- AOC-SAS3-9300-8e HBA controller 12GB/s SAS3 PCIe 3.0
Thanks for writing and sharing a great tool!
Sorry for the 4 month late reply.
It's been a while since I worked on this tool. It seems it reads the model/vendor/serial data not from smart data but with hdparm.
Can you provide the output from hdparm -IC ?
Example:
hdparm -IC /dev/sda
/dev/sda:
drive state is: active/idle
ATA device, with non-removable media
Model Number: SAMSUNG HM250JI
Serial Number: S0TVJD0P945059
Firmware Revision: HS100-08
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 0
Supported: 8 7 6 5 & some of 8
Hello Lourentius!
Thanks for taking a look at this. Our config changed a bit so here is the current showtools output:
[root@master]# ./show disk -mSDftHPrRCun
-------------------------------------------------------------------------------------------------------------------------------
| Dev | Model | Serial Number | State | Firmware | Temp | Hours | PS | RS | RSE | CRC | Spin | Park |
-------------------------------------------------------------------------------------------------------------------------------
| dm-0 | | | standby | | ? | ? | ? | ? | ? | ? | ? | ? |
| dm-1 | | | standby | | ? | ? | ? | ? | ? | ? | ? | ? |
| dm-2 | | | standby | | ? | ? | ? | ? | ? | ? | ? | ? |
| sda | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdaa | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdab | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdac | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdad | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdae | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdaf | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdag | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdah | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdai | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdaj | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdak | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdal | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdam | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdan | | | standby | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdb | INTEL SSDSC2BB240G6 | PHWA62650284240AGN | active/idle | G2010140 | 26 | 2675 | 0 | 0 | ? | 0 | ? | ? |
| sdc | INTEL SSDSC2BB240G6 | PHWA62650283240AGN | active/idle | G2010140 | 25 | 2675 | 0 | 0 | ? | 0 | ? | ? |
| sdd | INTEL SSDSC2BB800G6 | BTWA6172022K800HGN | active/idle | G2010140 | 25 | 2675 | 0 | 0 | ? | 0 | ? | ? |
| sde | INTEL SSDSC2BB800G6 | BTWA6172022F800HGN | active/idle | G2010140 | 25 | 2674 | 0 | 0 | ? | 0 | ? | ? |
| sdf | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdg | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdh | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdi | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdj | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdk | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdl | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdm | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdn | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdo | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdp | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdq | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdr | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sds | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdt | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdu | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdv | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdw | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdx | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdy | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
| sdz | | | unknown | | ? | ? | ? | ? | ? | ? | ? | ? |
-------------------------------------------------------------------------------------------------------------------------------
Intel Drive that shows up ok:
[root@master]# smartctl -i /dev/sdb
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.36.3.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: INTEL SSDSC2BB240G6
Serial Number: PHWA62650284240AGN
LU WWN Device Id: 5 5cd2e4 04c7dab64
Firmware Version: G2010140
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Dec 15 10:47:11 2016 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
[root@master]# hdparm -IC /dev/sdb
/dev/sdb:
drive state is: active/idle
ATA device, with non-removable media
Model Number: INTEL SSDSC2BB240G6
Serial Number: PHWA62650284240AGN
Firmware Revision: G2010140
Media Serial Num:
Media Manufacturer:
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 468862128
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 228936 MBytes
device size with M = 1000*1000: 240057 MBytes (240 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
unknown 119[6]
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* unknown 76[15]
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
* reserved 69[4]
* Data Set Management TRIM supported (limit 4 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
4min for SECURITY ERASE UNIT. 4min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 55cd2e404c7dab64
NAA : 5
IEEE OUI : 5cd2e4
Unique ID : 04c7dab64
Checksum: correct
Seagate Drive that does not show up ok:
[root@master]# smartctl -i /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.36.3.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: SEAGATE
Product: ST6000NM0034
Revision: E005
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
Lowest aligned LBA: 0
Logical block provisioning type unreported, LBPME=0, LBPRZ=0
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Logical Unit id: 0x5000c50096f44893
Serial number: S4D0R22D0000K63934K8
Device type: disk
Transport protocol: SAS
Local Time is: Thu Dec 15 10:45:22 2016 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
[root@]# hdparm -IC /dev/sda
/dev/sda:
SG_IO: bad/missing sense data, sb[]: 72 05 20 00 00 00 00 1c 02 06 00 00 cf 00 00 00 03 02 00 01 80 0e 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 72 05 20 00 00 00 00 1c 02 06 00 00 cf 00 00 00 03 02 00 01 80 0e 00 00 00 00 00 00 00 00 00 00
drive state is: unknown
SG_IO: bad/missing sense data, sb[]: 72 05 20 00 00 00 00 1c 02 06 00 00 cf 00 00 00 03 02 00 01 80 0e 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 72 05 20 00 00 00 00 1c 02 06 00 00 cf 00 00 00 03 02 00 01 80 0e 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD(identify) failed: Input/output error
After a bit of digging now that I can see the tool being used is HDPARM, there may be some of these bugs that are related to our issue:
https://sourceforge.net/p/hdparm/bugs/search/?q=missing+sense+data
Pff, another 4 months, but it seems to me that thanks to your digging we can conclude that it is an issue with HDPARM, something I'm not able to fix. I have seen issues with HDPARM segfaulting too.