|
From: Douglas G. <do...@to...> - 2008-04-13 11:05:47
|
Bruce Allen wrote:
> Hi Doug,
>
> Do you have any thoughts about this? I think we are going through
> libata, but not entirely sure....
>
> Cheers,
> Bruce
>
>
> On Sat, 5 Apr 2008, Halassy Zoltán wrote:
>
>> Hello!
>>
>> I have a Dell Poweredge server with 2 Seagate hdds in hardware raid1 on
>> an MPT controller (controller is SAS, the 2 disks are SATA:
>> ST3250620NS). OS is a x86_64 Gentoo Linux. While smartmontools 5.37
>> showed me some information about the disks while telling me, the disk is
>> not in the database; 5.38 have it in the database and says smart is
>> disabled. I can access the disks "almost" directly via /dev/sg1 and
>> /dev/sg2.
>>
>> -----------------------------------------------------------------------
>>
>> I have this conroller (lspci -nn):
>>
>> 05:08.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic
>> SAS1068 PCI-X Fusion-MPT SAS [1000:0054] (rev 01)
>>
>> -----------------------------------------------------------------------
>>
>> mpt-status shows this:
>>
>> ioc0 vol_id 0 type IM, 2 phy, 231 GB, state OPTIMAL, flags ENABLED
>> ioc0 phy 1 scsi_id 32 ATA ST3250620NS 3BKH, 232 GB, state
>> ONLINE, flags NONE
>> ioc0 phy 0 scsi_id 1 ATA ST3250620NS 3BKH, 232 GB, state
>> ONLINE, flags NONE
>>
>> -----------------------------------------------------------------------
>>
>> dmesg:
>>
>> mptbase: Initiating ioc0 bringup
>> ioc0: LSISAS1068 B0: Capabilities={Initiator}
>> scsi4 : ioc0: LSISAS1068 B0, FwRev=000a3100h, Ports=1, MaxQ=286, IRQ=16
>> scsi 4:0:0:0: Direct-Access ATA ST3250620NS 3BKH PQ: 0
>> ANSI: 5
>> scsi 4:0:0:0: Attached scsi generic sg1 type 0
>> scsi 4:0:1:0: Direct-Access ATA ST3250620NS 3BKH PQ: 0
>> ANSI: 5
>> scsi 4:0:1:0: Attached scsi generic sg2 type 0
>> scsi 4:1:0:0: Direct-Access Dell VIRTUAL DISK 1028 PQ: 0
>> ANSI: 5
>> sd 4:1:0:0: [sda] 486326272 512-byte hardware sectors (248999 MB)
>> sd 4:1:0:0: [sda] Write Protect is off
>> sd 4:1:0:0: [sda] Mode Sense: 03 00 00 08
>> sd 4:1:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sd 4:1:0:0: [sda] 486326272 512-byte hardware sectors (248999 MB)
>> sd 4:1:0:0: [sda] Write Protect is off
>> sd 4:1:0:0: [sda] Mode Sense: 03 00 00 08
>> sd 4:1:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sda: sda1 sda2
>> sd 4:1:0:0: [sda] Attached SCSI disk
>> sd 4:1:0:0: Attached scsi generic sg3 type 0
>>
>> -----------------------------------------------------------------------
>>
>> smartmontools 5.37 shows me:
>>
>> # smartctl -a /dev/sg1
>> smartctl version 5.37 [x86_64-pc-linux-gnu] Copyright (C) 2002-6 Bruce
>> Allen
>> Home page is http://smartmontools.sourceforge.net/
>>
>> === START OF INFORMATION SECTION ===
>> Device Model: ST3250620NS
>> Serial Number: 5QE4YYAM
>> Firmware Version: 3BKH
>> User Capacity: 250.000.000.000 bytes
>> Device is: Not in smartctl database [for details use: -P showall]
>> ATA Version is: 7
>> ATA Standard is: Exact ATA specification draft version not indicated
>> Local Time is: Sat Apr 5 00:48:49 2008 CEST
>> SMART support is: Available - device has SMART capability.
>> SMART support is: Enabled
>>
>> === START OF READ SMART DATA SECTION ===
>> SMART overall-health self-assessment test result: PASSED
>>
>> General SMART Values:
>> Offline data collection status: (0x82) Offline data collection activity
>> was completed without error.
>> 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: ( 430) seconds.
>> Offline data collection
>> capabilities: (0x5b) SMART execute Offline immediate.
>> Auto Offline data collection
>> on/off support.
>> Suspend Offline collection
>> upon new
>> command.
>> Offline surface scan supported.
>> Self-test supported.
>> No 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: ( 101) minutes.
>>
>> SMART Attributes Data Structure revision number: 10
>> Vendor Specific SMART Attributes with Thresholds:
>> ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
>> UPDATED WHEN_FAILED RAW_VALUE
>> 1 Raw_Read_Error_Rate 0x000f 105 100 006 Pre-fail
>> Always - 10477047
>> 3 Spin_Up_Time 0x0003 095 095 000 Pre-fail
>> Always - 0
>> 4 Start_Stop_Count 0x0032 100 100 020 Old_age
>> Always - 11
>> 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail
>> Always - 0
>> 7 Seek_Error_Rate 0x000f 066 060 030 Pre-fail
>> Always - 4639925
>> 9 Power_On_Hours 0x0032 098 098 000 Old_age
>> Always - 1891
>> 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail
>> Always - 0
>> 12 Power_Cycle_Count 0x0032 100 100 020 Old_age
>> Always - 11
>> 187 Unknown_Attribute 0x0032 100 100 000 Old_age Always
>> - 0
>> 189 Unknown_Attribute 0x003a 100 100 000 Old_age Always
>> - 0
>> 190 Temperature_Celsius 0x0022 069 063 045 Old_age Always
>> - 622592031
>> 194 Temperature_Celsius 0x0022 031 040 000 Old_age Always
>> - 31 (Lifetime Min/Max 0/20)
>> 195 Hardware_ECC_Recovered 0x001a 064 063 000 Old_age Always
>> - 38251334
>> 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always
>> - 0
>> 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age
>> Offline - 0
>> 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always
>> - 0
>> 200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age
>> Offline - 0
>> 202 TA_Increase_Count 0x0032 100 253 000 Old_age Always
>> - 0
>>
>> 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 Extended offline Completed without error 00% 1
>> -
>> # 2 Short offline Completed without error 00% 0
>> -
>>
>> 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.
>>
>> -----------------------------------------------------------------------
>>
>> smartmontools 5.38 shows me:
>>
>> # smartctl -a /dev/sg1
>> smartctl version 5.38 [x86_64-pc-linux-gnu] Copyright (C) 2002-8 Bruce
>> Allen
>> Home page is http://smartmontools.sourceforge.net/
>>
>> === START OF INFORMATION SECTION ===
>> Model Family: Seagate Barracuda ES
>> Device Model: ST3250620NS
>> Serial Number: 5QE4YYAM
>> Firmware Version: 3BKH
>> User Capacity: 250.000.000.000 bytes
>> Device is: In smartctl database [for details use: -P show]
>> ATA Version is: 7
>> ATA Standard is: Exact ATA specification draft version not indicated
>> Local Time is: Sat Apr 5 00:49:24 2008 CEST
>> SMART support is: Available - device has SMART capability.
>> SMART support is: Enabled
>>
>> SMART Disabled. Use option -s with argument 'on' to enable it.
>>
>> -----------------------------------------------------------------------
>>
>> smartmontools 5.38 shows me with -s on (dmesg doesn't tell me about new
>> events):
>>
>> # smartctl -a /dev/sg1 -s on
>> smartctl version 5.38 [x86_64-pc-linux-gnu] Copyright (C) 2002-8 Bruce
>> Allen
>> Home page is http://smartmontools.sourceforge.net/
>>
>> === START OF INFORMATION SECTION ===
>> Model Family: Seagate Barracuda ES
>> Device Model: ST3250620NS
>> Serial Number: 5QE4YYAM
>> Firmware Version: 3BKH
>> User Capacity: 250.000.000.000 bytes
>> Device is: In smartctl database [for details use: -P show]
>> ATA Version is: 7
>> ATA Standard is: Exact ATA specification draft version not indicated
>> Local Time is: Sat Apr 5 00:49:40 2008 CEST
>> SMART support is: Available - device has SMART capability.
>> SMART support is: Enabled
>>
>> === START OF ENABLE/DISABLE COMMANDS SECTION ===
>> SMART Enabled.
>> SMART Disabled. Use option -s with argument 'on' to enable it.
>>
>> -----------------------------------------------------------------------
Halassy,
Could you send me the output from:
smartctl -a -r ioctl,3 /dev/sg1
for the version 5.38 case?
Doug Gilbert
|