[Bug 1143495] Re: udisks reporting input/output error that seems to be nonsense
Phillip Susi
psusi at ubuntu.com
Fri Mar 8 03:46:55 UTC 2013
The error only happens trying to read the overall health, the rest of
the values can be read fine, yet udisks refuses to report anything:
psusi at faldara:~$ sudo skdump /dev/sdc
Device: sat16:/dev/sdc
Type: 16 Byte SCSI ATA SAT Passthru
Size: 35304 MiB
Model: [WDC WD360GD-00FNA0]
Serial: [WD-WMAH91337618]
Firmware: [35.06K35]
SMART Available: yes
Quirks:
Awake: yes
SMART Disk Health Good: Input/output error
Off-line Data Collection Status: [Off-line data collection activity was completed without error.]
Total Time To Complete Off-Line Data Collection: 1572 s
Self-Test Execution Status: [The previous self-test routine completed without error or no self-test has ever been run.]
Percent Self-Test Remaining: 0%
Conveyance Self-Test Available: yes
Short/Extended Self-Test Available: yes
Start Self-Test Available: yes
Abort Self-Test Available: yes
Short Self-Test Polling Time: 2 min
Extended Self-Test Polling Time: 28 min
Conveyance Self-Test Polling Time: 5 min
Bad Sectors: 0 sectors
Powered On: 1.7 years
Power Cycles: 5260
Average Powered On Per Power Cycle: 2.8 h
Temperature: 35.0 C
Attribute Parsing Verification: Good
Overall Status: Input/output error
ID# Name Value Worst Thres Pretty Raw Type Updates Good Good/Past
1 raw-read-error-rate 200 200 51 0 0x000000000000 prefail online yes yes
3 spin-up-time 88 84 21 2.1 s 0x340800000000 prefail online yes yes
4 start-stop-count 95 95 40 5571 0xc31500000000 old-age online yes yes
5 reallocated-sector-count 200 200 140 0 sectors 0x000000000000 prefail online yes yes
7 seek-error-rate 200 200 51 0 0x000000000000 prefail online yes yes
9 power-on-hours 80 80 0 1.7 years 0x833900000000 old-age online n/a n/a
10 spin-retry-count 100 100 51 0 0x000000000000 prefail online yes yes
11 calibration-retry-count 100 100 51 0 0x000000000000 prefail online yes yes
12 power-cycle-count 95 95 0 5260 0x8c1400000000 old-age online n/a n/a
194 temperature-celsius-2 108 253 0 35.0 C 0x230000000000 old-age online n/a n/a
196 reallocated-event-count 200 200 0 0 0x000000000000 old-age online n/a n/a
197 current-pending-sector 200 200 0 0 sectors 0x000000000000 old-age online n/a n/a
198 offline-uncorrectable 200 200 0 0 sectors 0x000000000000 old-age online n/a n/a
199 udma-crc-error-count 200 253 0 0 0x000000000000 old-age online n/a n/a
200 multi-zone-error-rate 200 125 51 0 0x000000000000 prefail offline yes yes
/org/freedesktop/UDisks2/drives/WDC_WD360GD_00FNA0_WD_WMAH91253983:
org.freedesktop.UDisks2.Drive:
Configuration: {}
ConnectionBus:
Ejectable: false
Id: WDC-WD360GD-00FNA0-WD-WMAH91253983
Media:
MediaAvailable: true
MediaChangeDetected: true
MediaCompatibility:
MediaRemovable: false
Model: WDC WD360GD-00FNA0
Optical: false
OpticalBlank: false
OpticalNumAudioTracks: 0
OpticalNumDataTracks: 0
OpticalNumSessions: 0
OpticalNumTracks: 0
Removable: false
Revision: 35.06K53
RotationRate: -1
Seat: seat0
Serial: WD-WMAH91253983
Size: 37019566080
SortKey: 00coldplug/00fixed/sd____d
TimeDetected: 1362370394993363
TimeMediaDetected: 1362370394993363
Vendor:
WWN:
org.freedesktop.UDisks2.Drive.Ata:
AamEnabled: true
AamSupported: true
AamVendorRecommendedValue: 128
ApmEnabled: false
ApmSupported: false
PmEnabled: true
PmSupported: true
SecurityEnhancedEraseUnitMinutes: 0
SecurityEraseUnitMinutes: 0
SecurityFrozen: false
SmartEnabled: true
SmartFailing: false
SmartNumAttributesFailedInThePast: -1
SmartNumAttributesFailing: -1
SmartNumBadSectors: 1
SmartPowerOnSeconds: 0
SmartSelftestPercentRemaining: -1
SmartSelftestStatus:
SmartSupported: true
SmartTemperature: 0.0
SmartUpdated: 0
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udisks in Ubuntu.
https://bugs.launchpad.net/bugs/1143495
Title:
udisks reporting input/output error that seems to be nonsense
Status in ATA S.M.A.R.T. Disk Health Monitoring Library:
Unknown
Status in “libatasmart” package in Ubuntu:
New
Status in “udisks” package in Ubuntu:
New
Status in “udisks2” package in Ubuntu:
New
Bug description:
My syslog is full of entries that look like this:
Mar 3 12:06:45 faldara udisksd[2630]: Error performing housekeeping
for drive
/org/freedesktop/UDisks2/drives/WDC_WD360GD_00FNA0_WD_WMAH91337618:
Error updating SMART data: sk_disk_smart_status: Input/output error
(udisks-error-quark, 0)
And opening the disks utility shows invalid smart data, and choosing
to update the smart data also reports an I/O error. Using smartctl on
the command line though says this disk is fine:
root at faldara:~# smartctl -a /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.8.0-7-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Raptor
Device Model: WDC WD360GD-00FNA0
Serial Number: WD-WMAH91337618
Firmware Version: 35.06K35
User Capacity: 37,019,566,080 bytes [37.0 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Mar 3 23:25:55 2013 EST
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: ( 1572) 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 28) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
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 0x000b 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 088 084 021 Pre-fail Always - 2100
4 Start_Stop_Count 0x0032 095 095 040 Old_age Always - 5566
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 080 080 000 Old_age Always - 14706
10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5255
194 Temperature_Celsius 0x0022 109 253 000 Old_age Always - 34
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0009 200 125 051 Pre-fail Offline - 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% 942 -
# 2 Extended offline Completed without error 00% 232 -
# 3 Extended offline Completed without error 00% 145 -
# 4 Extended offline Completed without error 00% 62 -
# 5 Extended offline Completed without error 00% 761 -
# 6 Extended offline Completed without error 00% 562 -
# 7 Extended offline Completed without error 00% 696 -
# 8 Extended offline Completed without error 00% 192 -
# 9 Extended offline Completed without error 00% 888 -
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.
root at faldara:~#
To manage notifications about this bug go to:
https://bugs.launchpad.net/libatasmart/+bug/1143495/+subscriptions
More information about the foundations-bugs
mailing list