Disk Recovery suggestions welcomed...
Don Levey
lug at the-leveys.us
Thu Dec 15 14:46:13 EST 2005
Last weekend, just before I left the continent on a trip, one of the
partitions on my family server's hard drive seems to have crashed. In
particular, I had a separate partition for /home, and the system (after
several power failures overnight) eventually refused to boot up with read
errors on /home.
I've found a few suggestions for diagnostics - output from e2fsck and
smartctl are below. I'm hoping for one of two things (if not both):
1) Is there any way to repair/work around this problem, and
2) Is there any way to mount the partition even temporarily so I can recover
the data?
Eventually I'm sure I'll need to replace the drive; the other partitions are
accessible and seem OK for now. Any thoughts?
Thanks in advance,
-Don
diagnostic output:
root at davinci log]# fdisk -l
Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6374 51199123+ 83 Linux
/dev/hda2 6375 13258 55295730 83 Linux
/dev/hda3 13259 19632 51199155 83 Linux
/dev/hda4 19633 19929 2385652+ f W95 Ext'd (LBA)
/dev/hda5 19633 19928 2377588+ 82 Linux swap
[root at davinci log]# e2fsck -c /dev/hda3
e2fsck 1.35 (28-Feb-2004)
/home1: Attempt to read block from filesystem resulted in short read while
reading block 524
/home1: Attempt to read block from filesystem resulted in short read reading
journal superblock
e2fsck: Attempt to read block from filesystem resulted in short read while
checking ext3 journal for /home1
[root at davinci log]# smartctl -a /dev/hda3
smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: Maxtor 6Y160P0
Serial Number: Y41QV0VE
Firmware Version: YAR41BW0
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
Local Time is: Thu Dec 15 10:30:28 2005 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: (0x80) Offline data collection activity was
never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 118) The previous self-test completed
having
the read element of the test failed.
Total time to complete Offline
data collection: ( 302) 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 72) 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
3 Spin_Up_Time 0x0027 203 202 063 Pre-fail
s - 8872
4 Start_Stop_Count 0x0032 253 253 000 Old_age
ys - 43
5 Reallocated_Sector_Ct 0x0033 252 252 063 Pre-fail
s - 14
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail
ine - 0
7 Seek_Error_Rate 0x000a 253 252 000 Old_age
ys - 0
8 Seek_Time_Performance 0x0027 250 247 187 Pre-fail
s - 48220
9 Power_On_Minutes 0x0032 219 219 000 Old_age
ys - 972h+17m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail
s - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail
s - 0
12 Power_Cycle_Count 0x0032 253 253 000 Old_age
ys - 64
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age
ys - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age
ys - 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age
ys - 35
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age
ys - 31427
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age
line - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age
line - 4
198 Offline_Uncorrectable 0x0008 252 252 000 Old_age
line - 1
199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age
line - 0
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age
ys - 0
201 Soft_Read_Error_Rate 0x000a 253 244 000 Old_age
ys - 564
202 TA_Increase_Count 0x000a 253 252 000 Old_age
ys - 1
203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail
s - 38
204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age
ys - 0
205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age
ys - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age
ys - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age
ys - 0
209 Offline_Seek_Performnce 0x0024 195 195 000 Old_age
line - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age
line - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age
line - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age
line - 0
SMART Error Log Version: 1
Warning: ATA error count 104 inconsistent with error log pointer 5
ATA Error Count: 104 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Timestamp = decimal seconds since the previous disk power-on.
Note: timestamp "wraps" after 2^32 msec = 49.710 days.
Error 104 occurred at disk power-on lifetime: 11151 hours
When the command that caused the error occurred, the device was in an
unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 02 b0 07 b2 e0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 02 b0 07 b2 e0 08 1133623.072 READ DMA EXT
25 00 04 ae 07 b2 e0 08 1133622.064 READ DMA EXT
25 00 06 ac 07 b2 e0 08 1133621.248 READ DMA EXT
25 00 06 ac 07 b2 e0 08 1133619.216 READ DMA EXT
25 00 08 aa 07 b2 e0 08 1133618.192 READ DMA EXT
Error 103 occurred at disk power-on lifetime: 11151 hours
When the command that caused the error occurred, the device was in an
unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 04 ae 07 b2 e0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 04 ae 07 b2 e0 08 1133622.064 READ DMA EXT
25 00 06 ac 07 b2 e0 08 1133621.248 READ DMA EXT
25 00 06 ac 07 b2 e0 08 1133619.216 READ DMA EXT
25 00 08 aa 07 b2 e0 08 1133618.192 READ DMA EXT
35 00 08 77 00 38 e0 08 1133618.192 WRITE DMA EXT
Error 102 occurred at disk power-on lifetime: 11151 hours
When the command that caused the error occurred, the device was in an
unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 06 ac 07 b2 e0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 06 ac 07 b2 e0 08 1133621.248 READ DMA EXT
25 00 06 ac 07 b2 e0 08 1133619.216 READ DMA EXT
25 00 08 aa 07 b2 e0 08 1133618.192 READ DMA EXT
35 00 08 77 00 38 e0 08 1133618.192 WRITE DMA EXT
35 00 18 57 00 38 e0 08 1133618.192 WRITE DMA EXT
Error 101 occurred at disk power-on lifetime: 11151 hours
When the command that caused the error occurred, the device was in an
unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
01 51 06 ac 07 b2 e0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 06 ac 07 b2 e0 08 1133619.216 READ DMA EXT
25 00 08 aa 07 b2 e0 08 1133618.192 READ DMA EXT
35 00 08 77 00 38 e0 08 1133618.192 WRITE DMA EXT
35 00 18 57 00 38 e0 08 1133618.192 WRITE DMA EXT
25 00 50 b2 07 b2 e0 08 1133618.192 READ DMA EXT
Error 100 occurred at disk power-on lifetime: 11151 hours
When the command that caused the error occurred, the device was in an
unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 aa 07 b2 e0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Timestamp Command/Feature_Name
-- -- -- -- -- -- -- -- --------- --------------------
25 00 08 aa 07 b2 e0 08 1133618.192 READ DMA EXT
35 00 08 77 00 38 e0 08 1133618.192 WRITE DMA EXT
35 00 18 57 00 38 e0 08 1133618.192 WRITE DMA EXT
25 00 50 b2 07 b2 e0 08 1133618.192 READ DMA EXT
25 00 52 b0 07 b2 e0 08 1133617.184 READ DMA EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours)
LBA_of_first_error
# 1 Extended offline Completed: read failure 30% 11151
0x061e7966
# 2 Short offline Completed: read failure 60% 11151
0x0cb207aa
More information about the Discuss
mailing list