The command 'smartctl -i /dev/da0' (where da0 is a SAS disk) fails with the following error: ------------------------------------------- smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org Vendor: SEAGATE Product: ST33000650SS Revision: 0004 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes scsiModePageOffset: raw_curr too small, offset=259 resp_len=1 bd_len=255 How-To-Repeat: With the isci driver loaded, plug a SAS disk to the controller and type: smartctl -i /dev/da0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. ------------------------------------------- Apparently this does not happen with a SATA disk connected to the same controller. The command 'smartctl -T permissive -a /dev/da0' does show the rest of the information (see below); however, scripts that look for the string 'SMART is: enabled' cannot work even with this workaround. ------------------------------------------- smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RELEASE amd64] (local build) Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org Vendor: SEAGATE Product: ST33000650SS Revision: 0004 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes scsiModePageOffset: raw_curr too small, offset=259 resp_len=1 bd_len=255 >> Terminate command early due to bad response to IEC mode page Current Drive Temperature: 39 C Drive Trip Temperature: 68 C Manufactured in week 45 of year 2012 Specified cycle count over device lifetime: 10000 Accumulated start-stop cycles: 130 Specified load-unload count over device lifetime: 300000 Accumulated load-unload cycles: 135 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 20895408 Blocks received from initiator = 138348465 Blocks read from cache and sent to initiator = 156674 Number of read and write commands whose size <= segment size = 36703 Number of read and write commands whose size > segment size = 0 Vendor (Seagate/Hitachi) factory information number of hours powered up = 866.38 number of minutes until next internal SMART test = 50 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 42612987 0 0 42612987 0 10.698 0 write: 0 0 0 0 0 71.055 0 Non-medium error count: 6 SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 671 - [- - -] Long (extended) Self Test duration: 27600 seconds [460.0 minutes] -------------------------------------------
Responsible Changed From-To: freebsd-bugs->freebsd-scsi reclassify.
Remove "[iscsi]" prefix; it's in no way related to iSCSI - it's isci(4).
Recieved on freebsd-scsi list from Douglas Gilbert: This is an old report that I think should be retired. Below is the output from the same model of drive with 0005 firmware (current, available from Seagate) rather than 0004 shown in the report. This is with the latest development version of smartmontools tested on 10.0-RELEASE-p4 and a LSI 9212-4i4e SAS controller. I'm the smartmontools guy to fix that and I can't replicate it so I'll treat it as closed. Doug Gilbert # smartctl -a /dev/da1 smartctl 6.3 2014-06-19 r3915 [FreeBSD 10.0-RELEASE-p4 i386] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Vendor: SEAGATE Product: ST33000650SS Revision: 0005 Compliance: SPC-4 User Capacity: 3,000,592,982,016 bytes [3.00 TB] Logical block size: 512 bytes Formatted with type 1 protection Rotation Rate: 7200 rpm Form Factor: 3.5 inches Logical Unit id: 0x5000c50033fe58db Serial number: xxxxxxxxxxxxxx Device type: disk Transport protocol: SAS (SPL-3) Local Time is: Thu Jun 19 14:47:10 2014 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled Temperature Warning: Enabled === START OF READ SMART DATA SECTION === SMART Health Status: OK Current Drive Temperature: 32 C Drive Trip Temperature: 68 C Manufactured in week 18 of year 2011 Specified cycle count over device lifetime: 10000 Accumulated start-stop cycles: 239 Specified load-unload count over device lifetime: 300000 Accumulated load-unload cycles: 240 Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 16089640 Blocks received from initiator = 627264253 Blocks read from cache and sent to initiator = 385140 Number of read and write commands whose size <= segment size = 19988 Number of read and write commands whose size > segment size = 1483 Vendor (Seagate/Hitachi) factory information number of hours powered up = 236.02 number of minutes until next internal SMART test = 46 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 29236610 0 0 29236610 0 8.366 0 write: 0 0 0 0 0 326.215 0 verify: 10 0 0 10 0 0.000 0 Non-medium error count: 147 SMART Self-test log Num Test Status segment LifeTime LBA_first_err [SK ASC ASQ] Description number (hours) # 1 Background short Completed - 110 - [- - -] # 2 Background short Completed - 6 - [- - -] Long (extended) Self Test duration: 27600 seconds [460.0 minutes]