add support for SAS host managed drives
The industry is working on SAS host managed drives supporting the ZBC specification. It would be helpful if smartctl could read some basic SAS parameters on these drives, such as power on hours and grown defect list entries.
The current issue is that these SAS HM drives are a different peripheral type (0x14) from a standard direct access drive (0x0), as per SPC-5, so in scsiprint.cpp they are not being recognized in the is_disk variable in the scsiPrintMain function.
I have made local changes to support Seagate SAS HM drives. All that needs changing is an additional SCSI Peripheral Type in scsicmds.h (host managed device, 14h, see link below), and a check for that in scsiprint.cpp (in scsiPrintMain, in the is_disk check).
https://en.wikipedia.org/wiki/SCSI_Peripheral_Device_Type
Change History
(6)
Keywords: |
scsi added; SAS HM ZBC removed
|
Milestone: |
→ unscheduled
|
Milestone: |
unscheduled → Release 6.7
|
Owner: |
set to Christian Franke
|
Status: |
new → accepted
|
Type: |
enhancement → patch
|
Resolution: |
→ fixed
|
Status: |
accepted → closed
|
Milestone: |
Release 6.7 → Release 7.0
|
Please provide these changes as a patch file.