smartctl not working with mrsas(4) driver on Dell PERC H730
Pallav Bose
pallav_bose at yahoo.com
Sat Nov 7 01:32:59 UTC 2015
Hello,
I'm trying to obtain SMART information from the SSDs attached to a Dell PERC H730 on FreeBSD 10.2.
root at freebsd10-2:~ # uname -a
FreeBSD freebsd10-2 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root at freebsd10-2:~ # camcontrol devlist
<DELL PERC H730 Mini 4.25> at scbus0 target 0 lun 0 (pass0,da0)
<DELL PERC H730 Mini 4.25> at scbus0 target 1 lun 0 (pass1,da1)
<DELL PERC H730 Mini 4.25> at scbus0 target 2 lun 0 (pass2,da2)
<Kingston DataTraveler 3.0 PMAP> at scbus4 target 0 lun 0 (da3,pass3)
root at freebsd10-2:~ # MegaCli pdlist a0 | grep -ie slot -e firmware\ state -e inq
Slot Number: 0
Firmware state: Online, Spun Up
Inquiry Data: 14290D7FC10FMicron_M500DC_MTFDDAK800MBB 0134
Slot Number: 1
Firmware state: Online, Spun Up
Inquiry Data: 14490DFF5AEAMicron_M500DC_MTFDDAK800MBB 0134
Slot Number: 2
Firmware state: Online, Spun Up
Inquiry Data: 14290D7FC11AMicron_M500DC_MTFDDAK800MBB 0134
root at freebsd10-2:~ # smartctl -d auto /dev/da1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
SCSI device successfully opened
Use 'smartctl -a' (or '-x') to print SMART (and more) information
root at freebsd10-2:~ # smartctl -a /dev/da1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: DELL
Product: PERC H730 Mini
Revision: 4.25
User Capacity: 799,535,005,696 bytes [799 GB]
Logical block size: 512 bytes
>> 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.
root at freebsd10-2:~ # smartctl -a -T permissive /dev/da1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: DELL
Product: PERC H730 Mini
Revision: 4.25
User Capacity: 799,535,005,696 bytes [799 GB]
Logical block size: 512 bytes
>> Terminate command early due to bad response to IEC mode page
=== START OF READ SMART DATA SECTION ===
Read defect list: asked for grown list but didn't get it
Error Counter logging not supported
Device does not support Self Test logging
I get the same output as above when I run on the pass device as : smartctl -a -T permissive /dev/pass1
When I switch to using the mfi(4) driver, I'm able to get SMART information.
root at freebsd10-2:~ # camcontrol devlist
<Kingston DataTraveler 3.0 PMAP> at scbus0 target 0 lun 0 (da0,pass0)
<ATA Micron_M500DC_MT 0134> at scbus1 target 0 lun 0 (pass1)
<ATA Micron_M500DC_MT 0134> at scbus1 target 1 lun 0 (pass2)
<ATA Micron_M500DC_MT 0134> at scbus1 target 2 lun 0 (pass3)
<DP BP13G+EXP 3.03> at scbus1 target 32 lun 0 (ses0,pass4)
root at freebsd10-2:~ # ls /dev/mfi*
/dev/mfi0 /dev/mfid0 /dev/mfid0p2 /dev/mfid1 /dev/mfid1p2 /dev/mfid2 /dev/mfid2p2
/dev/mfi1 /dev/mfid0p1 /dev/mfid0p3 /dev/mfid1p1 /dev/mfid1p3 /dev/mfid2p1 /dev/mfid2p3
root at freebsd10-2:~ # smartctl -a -d sat /dev/pass1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 10.2-RELEASE amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Micron M500DC Enterprise SSDs
Device Model: Micron_M500DC_MTFDDAK800MBB
Serial Number: 14290D7FC10F
LU WWN Device Id: 5 00a075 10d7fc10f
Firmware Version: 0134
User Capacity: 800,166,076,416 bytes [800 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Nov 6 16:05:46 2015 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Status not supported: ATA return descriptor not supported by controller firmware
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 3725) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 10) minutes.
Conveyance self-test routine
recommended polling time: ( 3) minutes.
SCT capabilities: (0x0035) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 050 Pre-fail Always - 0
5 Reallocated_Block_Count 0x0032 100 100 001 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 001 Old_age Always - 307
12 Power_Cycle_Count 0x0032 100 100 001 Old_age Always - 117
170 Reserved_Block_Count 0x0033 100 100 010 Pre-fail Always - 16
171 Program_Fail_Count 0x0032 100 100 001 Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 001 Old_age Always - 0
173 Ave_Block-Erase_Count 0x0033 100 100 000 Pre-fail Always - 3
174 Unexpect_Power_Loss_Ct 0x0032 100 100 001 Old_age Always - 116
184 Error_Correction_Count 0x0033 100 100 050 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 001 Old_age Always - 0
188 Command_Timeouts 0x0032 100 100 001 Old_age Always - 209
194 Temperature_Celsius 0x0022 069 054 000 Old_age Always - 31 (Min/Max 24/46)
195 Cumulativ_Corrected_ECC 0x003a 100 100 001 Old_age Always - 2432
197 Current_Pending_Sector 0x0032 100 100 001 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 001 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 100 100 001 Old_age Always - 1
202 Percent_Lifetime_Remain 0x0018 100 100 001 Old_age Offline - 0
206 Write_Error_Rate 0x000e 100 100 001 Old_age Always - 0
247 Host_Program_Page_Count 0x0032 100 100 000 Old_age Always - 157673868
248 Bckgnd_Program_Page_Cnt 0x0032 100 100 000 Old_age Always - 54069869
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Vendor (0xff) Completed without error 00% 208 -
# 2 Vendor (0xff) Completed without error 00% 137 -
# 3 Vendor (0xff) Completed without error 00% 35 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
How can I get smartctl(8) to work with the mrsas(4) driver?
Regards,Pallav
More information about the freebsd-scsi
mailing list