Similar issue, smartctl fails to determine device type for HP Proliant G8 scsi hard disks on CentOS 7.
Somewhat misleading hint /dev/sda: requires option '-d cciss,N'
DOH DUH #1:
root$ smartctl -i /dev/sda
/dev/sda: requires option '-d cciss,N'
Please specify device type with the -d option.
DOH DUH #2:
root$ smartctl -i /dev/sda -d cciss,N # oops
/dev/sda: Option -d cciss,N requires N to be a non-negative integer
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test <=======
'-d csiss,N' where N is a number.
Not sure why just csiss is suggested, maybe it is just the last item in the list when it is trying to automatically figure out type of device.
List device files under /dev to see disk devices.
The N is the last number in the name of the device.
e.g. for /dev/sda5 N is 5
$ ls -alstr /dev/sd*
0 brw-rw----. 1 root disk 8, 48 Jan 22 2020 /dev/sdd
0 brw-rw----. 1 root disk 8, 32 Jan 22 2020 /dev/sdc
0 brw-rw----. 1 root disk 8, 16 Jan 22 2020 /dev/sdb
0 brw-rw----. 1 root disk 8, 17 Jan 22 2020 /dev/sdb1
0 brw-rw----. 1 root disk 8, 33 Jan 22 2020 /dev/sdc1
0 brw-rw----. 1 root disk 8, 49 Jan 22 2020 /dev/sdd1
0 brw-rw----. 1 root disk 8, 0 Feb 10 10:56 /dev/sda
0 brw-rw----. 1 root disk 8, 4 Feb 10 10:56 /dev/sda4
0 brw-rw----. 1 root disk 8, 5 Feb 10 10:56 /dev/sda5
0 brw-rw----. 1 root disk 8, 3 Feb 10 10:56 /dev/sda3
0 brw-rw----. 1 root disk 8, 2 Feb 10 10:56 /dev/sda2
0 brw-rw----. 1 root disk 8, 6 Feb 10 10:56 /dev/sda6
0 brw-rw----. 1 root disk 8, 1 Feb 10 10:56 /dev/sda1
e.g. for /dev/sda0 N is 0
$ smartctl -i /dev/sda -d cciss,0
smartctl 6.2 2017-02-27 r4394 [x86_64-linux-3.10.0-693.21.1.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda [cciss_disk_00] [SCSI]: Device open changed type from 'sat,auto+cciss' to 'cciss'
=== START OF INFORMATION SECTION ===
Vendor: HP
Product: EH0146FBQDC
Revision: HPD3
User Capacity: 146,815,737,856 bytes [146 GB]
Logical block size: 512 bytes
Rotation Rate: 15000 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000c5005ab90277
Serial number: 6XM1WH6J0000B320CK84
Device type: disk
Transport protocol: SAS
Local Time is: Wed Feb 10 10:57:34 2021 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
e.g. for /dev/sda5 N is 5
The same info shows as for /dev/sda0 except Logical Unit id and Serial Number are different.
smartctl -i /dev/sda -d cciss,5
smartctl 6.2 2017-02-27 r4394 [x86_64-linux-3.10.0-693.21.1.el7.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda [cciss_disk_05] [SCSI]: Device open changed type from 'sat,auto+cciss' to 'cciss'
=== START OF INFORMATION SECTION ===
Vendor: HP
Product: EH0146FBQDC
Revision: HPD3
User Capacity: 146,815,737,856 bytes [146 GB]
Logical block size: 512 bytes
Rotation Rate: 15000 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000c5005abf9f07
Serial number: 6XM1WKTN0000B320ED0R
Device type: disk
Transport protocol: SAS
Local Time is: Fri Feb 19 18:46:59 2021 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Enabled
Specifying '-d scsi' shows quite believable info also, but ...
root$ sudo smartctl -i /dev/sda -d scsi
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.9.1.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: HP
Product: LOGICAL VOLUME
Revision: 6.34
Compliance: SPC-3
User Capacity: 146,778,685,440 bytes [146 GB]
Logical block size: 512 bytes
Logical Unit id: 0x600508b1001c3aa4f41858962741ed49
Serial number: 00143802281D760
Device type: disk
Local Time is: Fri Jan 24 16:11:48 2020 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Temperature Warning: Disabled or Not Supported
root$ cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
-d
options, specifically-d sat
, and look at the list of supported devices. Quite a lot of USB adapters will work with SMART.