Thank you for the quick replies Remy. I found this tool and board when I had almost given up.
I got TestDisk working perfectly once I got the correct version in place. I hadn't realized that the one that came with the distro was old.
But out of sheer luck I found one more website talking about restoring raid sets and two commands later my set is back in business. I still don't have a clue why it stopped working, I still have some very weird things in the configurations, but I am not touching anything else until my backup has finished copying the files.
In the end I don't think I need TestDisk, but if you are willing to help me get the RAID set configured correctly anyway I would be most appreciative. If not I completely understand that too.
The setup consist of three drives, 2 of which are 120GB drives with only the RAID partition and one larger driver where I have made a 120GB partition to use with the other drives (this is also my system drive). I started out setting them up as /dev/md0 but somewhere along the line /dev/md/holisrv2:0 showed up as a name for them as well. Both of those seem to have been working interchangeably for almost all commands but now they seem to be different raid sets.
It was the two 120GB disks that dropped of. sda and sdb while sdf7 was still working.
I managed to recover the RAID set when I finally executed the command
Code: Select all
# mdadm --assemble --force /dev/md/holirv2:0
It would however not work with md0 since that is not in my /etc/mdadm.conf file. And it did not include the previously only working partition sdf7 in the result. Instead that one is used in the broken md0.
Here is what I have right now:
Code: Select all
# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sda1[4] sdb1[1]
234433536 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/2] [UU_]
md0 : inactive sdf7[3]
125362172 blocks super 1.2
unused devices: <none>
Code: Select all
# cat /etc/mdadm.conf
ARRAY /dev/md/holisrv2:0 level=raid5 num-devices=3 metadata=1.2 name=holisrv2:0 UUID=3bb3eae6:062880d5:7473ce69:73b2b39c
Code: Select all
# mdadm --examine /dev/sda /dev/sdb /dev/sdf
/dev/sda:
MBR Magic : aa55
Partition[0] : 234436482 sectors at 63 (type fd)
/dev/sdb:
MBR Magic : aa55
Partition[0] : 234436482 sectors at 63 (type fd)
/dev/sdf:
MBR Magic : aa55
Partition[0] : 30491307 sectors at 63 (type 83)
Partition[1] : 289668015 sectors at 30491370 (type 05)
I guess I should update my entry in/etc/fstab to use /dev/md/holisrv2:0 instead since it is currently showing as below. But isn't it strange that is has been working up until now? holisrv2:0 is something I've seen for many months.
Code: Select all
...
/dev/md0 /mnt/draid ext4 defaults 1 2
...
holisrv2:0, note that only two disks are up
Code: Select all
# mdadm --detail /dev/md/holisrv2\:0
/dev/md/holisrv2:0:
Version : 1.2
Creation Time : Sat Oct 8 18:21:58 2011
Raid Level : raid5
Array Size : 234433536 (223.57 GiB 240.06 GB)
Used Dev Size : 117216768 (111.79 GiB 120.03 GB)
Raid Devices : 3
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Wed Jun 13 19:58:46 2012
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : holisrv2:0 (local to host holisrv2)
UUID : 3bb3eae6:062880d5:7473ce69:73b2b39c
Events : 1398
Number Major Minor RaidDevice State
4 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 0 0 2 removed
md0, note the use of sdf7
Code: Select all
# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sat Oct 8 18:21:58 2011
Raid Level : raid5
Used Dev Size : 117216768 (111.79 GiB 120.03 GB)
Raid Devices : 3
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Tue Jun 12 23:10:09 2012
State : active, FAILED, Not Started
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : holisrv2:0 (local to host holisrv2)
UUID : 3bb3eae6:062880d5:7473ce69:73b2b39c
Events : 702
Number Major Minor RaidDevice State
0 0 0 0 removed
1 0 0 1 removed
3 8 87 2 active sync /dev/sdf7
I honestly don't know how to read the udisks/smartctrl result except that it says "PASSED":
udisks output for /dev/sda
Code: Select all
# udisks --show-info /dev/sda
Showing information for /org/freedesktop/UDisks/devices/sda
native-path: /sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:0/0:0:0:0/block/sda
device: 8:0
device-file: /dev/sda
presentation: /dev/sda
by-id: /dev/disk/by-id/ata-ST3120026A_3JT12E3V
by-id: /dev/disk/by-id/scsi-SATA_ST3120026A_3JT12E3V
by-path: /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
detected at: Tue 12 Jun 2012 23:27:06 CEST
system internal: 1
removable: 0
has media: 1 (detected at Tue 12 Jun 2012 23:27:06 CEST)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 120034123776
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: ATA
model: ST3120026A
revision: 3.06
serial: 3JT12E3V
WWN:
detachable: 0
can spindown: 1
rotational media: Yes, unknown rate
write-cache: enabled
ejectable: 0
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1/host0
similar devices:
media:
compat:
interface: ata
if speed: (unknown)
ATA SMART: Updated at Wed 13 Jun 2012 19:57:07 CEST
overall assessment: Good
===============================================================================
Attribute Current|Worst|Threshold Status Value Type Updates
===============================================================================
raw-read-error-rate 63| 53| 6 good 243625102 Pre-fail Online
spin-up-time 99| 96| 0 n/a 0 Pre-fail Online
start-stop-count 100|100| 20 good 273 Old-age Online
reallocated-sector-count 100|100| 36 good 0 sectors Pre-fail Online
seek-error-rate 87| 60| 30 good 557243845 Pre-fail Online
power-on-hours 92| 92| 0 n/a 304,0 days Old-age Online
spin-retry-count 100|100| 97 good 0 Pre-fail Online
power-cycle-count 100|100| 20 good 840 Old-age Online
temperature-celsius-2 49| 63| 0 n/a 49C / 120F Old-age Online
hardware-ecc-recovered 63| 53| 0 n/a 243625102 Old-age Online
current-pending-sector 100|100| 0 n/a 0 sectors Old-age Online
offline-uncorrectable 100|100| 0 n/a 0 sectors Old-age Offline
udma-crc-error-count 200| 41| 0 n/a 336 Old-age Online
multi-zone-error-rate 100|253| 0 n/a 0 Old-age Offline
ta-increase-count 100|253| 0 n/a 0 Old-age Online
udisks output for /dev/sdb
Code: Select all
# udisks --show-info /dev/sdb
Showing information for /org/freedesktop/UDisks/devices/sdb
native-path: /sys/devices/pci0000:00/0000:00:1f.1/host0/target0:0:1/0:0:1:0/block/sdb
device: 8:16
device-file: /dev/sdb
presentation: /dev/sdb
by-id: /dev/disk/by-id/ata-WDC_WD1200BB-00DWA0_WD-WCAEK1281703
by-id: /dev/disk/by-id/scsi-SATA_WDC_WD1200BB-00WD-WCAEK1281703
by-path: /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:1:0
detected at: Tue 12 Jun 2012 23:27:06 CEST
system internal: 1
removable: 0
has media: 1 (detected at Tue 12 Jun 2012 23:27:06 CEST)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 120034123776
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 1
drive:
vendor: ATA
model: WDC WD1200BB-00DWA0
revision: 15.05R51
serial: WD-WCAEK1281703
WWN:
detachable: 0
can spindown: 1
rotational media: Yes, unknown rate
write-cache: enabled
ejectable: 0
adapter: /org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1
ports:
/org/freedesktop/UDisks/adapters/0000_3a00_3a1f_2e1/host0
similar devices:
media:
compat:
interface: ata
if speed: (unknown)
ATA SMART: Updated at Wed 13 Jun 2012 19:57:07 CEST
overall assessment: UNKNOWN
===============================================================================
Attribute Current|Worst|Threshold Status Value Type Updates
===============================================================================
raw-read-error-rate 200|200| 51 good 0 Pre-fail Online
spin-up-time 144|144| 21 good 3,3 secs Pre-fail Online
start-stop-count 100|100| 40 good 400 Old-age Online
reallocated-sector-count 200|200|140 good 0 sectors Pre-fail Online
seek-error-rate 200|200| 51 good 0 Pre-fail Online
power-on-hours 91| 91| 0 n/a 275,9 days Old-age Online
spin-retry-count 100|100| 51 good 0 Pre-fail Online
calibration-retry-count 100|100| 51 good 0 Pre-fail Online
power-cycle-count 100|100| 0 n/a 314 Old-age Online
temperature-celsius-2 99|253| 0 n/a 51C / 124F Old-age Online
reallocated-event-count 200|200| 0 n/a 0 Old-age Online
current-pending-sector 200|200| 0 n/a 0 sectors Old-age Online
offline-uncorrectable 200|200| 0 n/a 0 sectors Old-age Online
udma-crc-error-count 200|253| 0 n/a 2 Old-age Online
multi-zone-error-rate 200|155| 51 good 0 Pre-fail Offline
udisks output for /dev/sdf
Code: Select all
# udisks --show-info /dev/sdf
Showing information for /org/freedesktop/UDisks/devices/sdf
native-path: /sys/devices/pci0000:00/0000:00:1e.0/0000:06:01.0/host4/target4:0:0/4:0:0:0/block/sdf
device: 8:80
device-file: /dev/sdf
presentation: /dev/sdf
by-id: /dev/disk/by-id/ata-Maxtor_6Y160M0_Y41XJZGE
by-id: /dev/disk/by-id/edd-int13_dev80
by-id: /dev/disk/by-id/scsi-SATA_Maxtor_6Y160M0_Y41XJZGE
by-path: /dev/disk/by-path/pci-0000:06:01.0-scsi-0:0:0:0
detected at: Tue 12 Jun 2012 23:27:06 CEST
system internal: 1
removable: 0
has media: 1 (detected at Tue 12 Jun 2012 23:27:06 CEST)
detects change: 0
detection by polling: 0
detection inhibitable: 0
detection inhibited: 0
is read only: 0
is mounted: 0
mount paths:
mounted by uid: 0
presentation hide: 0
presentation nopolicy: 0
presentation name:
presentation icon:
automount hint:
size: 163924377088
block size: 512
job underway: no
usage:
type:
version:
uuid:
label:
partition table:
scheme: mbr
count: 5
drive:
vendor: ATA
model: Maxtor 6Y160M0
revision: YAR51B0W
serial: Y41XJZGE
WWN:
detachable: 0
can spindown: 1
rotational media: Yes, unknown rate
write-cache: enabled
ejectable: 0
adapter: /org/freedesktop/UDisks/adapters/0000_3a06_3a01_2e0
ports:
/org/freedesktop/UDisks/adapters/0000_3a06_3a01_2e0/host4
similar devices:
media:
compat:
interface: ata
if speed: (unknown)
ATA SMART: Updated at Wed 13 Jun 2012 19:57:07 CEST
overall assessment: Good
===============================================================================
Attribute Current|Worst|Threshold Status Value Type Updates
===============================================================================
spin-up-time 201|199| 63 good 15,6 secs Pre-fail Online
start-stop-count 252|252| 0 n/a 2972 Old-age Online
reallocated-sector-count 253|253| 63 good 0 sectors Pre-fail Online
read-channel-margin 253|253|100 good 0 Pre-fail Offline
seek-error-rate 253|252| 0 n/a 0 Old-age Online
seek-time-performance 253|238|187 good 0 Pre-fail Online
power-on-minutes 178|178| 0 n/a 43,5 days Old-age Online
spin-retry-count 253|252|157 good 0 Pre-fail Online
calibration-retry-count 253|252|223 good 0 Pre-fail Online
power-cycle-count 245|245| 0 n/a 3175 Old-age Online
power-off-retract-count 253|253| 0 n/a 0 Old-age Online
load-cycle-count 253|253| 0 n/a 0 Old-age Online
temperature-celsius-2 253|253| 0 n/a 57C / 135F Old-age Online
hardware-ecc-recovered 253|252| 0 n/a 6293 Old-age Online
reallocated-event-count 253|253| 0 n/a 0 Old-age Offline
current-pending-sector 253|253| 0 n/a 0 sectors Old-age Offline
offline-uncorrectable 253|253| 0 n/a 0 sectors Old-age Offline
udma-crc-error-count 199|194| 0 n/a 5 Old-age Offline
multi-zone-error-rate 253|252| 0 n/a 0 Old-age Online
soft-read-error-rate 253| 33| 0 n/a 78 Old-age Online
ta-increase-count 253|252| 0 n/a 0 Old-age Online
run-out-cancel 253|231|180 good 0 Pre-fail Online
shock-count-write-open 253|252| 0 n/a 0 Old-age Online
shock-rate-write-open 253|252| 0 n/a 0 Old-age Online
spin-high-current 253|252| 0 n/a 0 Old-age Online
spin-buzz 253|252| 0 n/a 0 Old-age Online
offline-seek-performance 196|188| 0 n/a 0 Old-age Offline
attribute-99 253|253| 0 n/a 0 Old-age Offline
attribute-100 253|253| 0 n/a 0 Old-age Offline
attribute-101 253|253| 0 n/a 0 Old-age Offline
Smartctrl output /dev/sda
Code: Select all
# smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.4-desktop-nrj.69mib] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.7 and 7200.7 Plus
Device Model: ST3120026A
Serial Number: 3JT12E3V
Firmware Version: 3.06
User Capacity: 120 034 123 776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 6
ATA Standard is: ATA/ATAPI-6 T13 1410D revision 2
Local Time is: Wed Jun 13 20:11:57 2012 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 85) 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 062 053 006 Pre-fail Always - 26867264
3 Spin_Up_Time 0x0003 099 096 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 273
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 087 060 030 Pre-fail Always - 557298683
9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 7298
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 840
194 Temperature_Celsius 0x0022 050 063 000 Old_age Always - 50
195 Hardware_ECC_Recovered 0x001a 062 053 000 Old_age Always - 26867264
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 041 000 Old_age Always - 336
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 643 (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]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 643 occurred at disk power-on lifetime: 5468 hours (227 days + 20 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 01 67 01 00 e0 Error: ICRC, ABRT 1 sectors at LBA = 0x00000167 = 359
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 60 01 00 e0 00 00:00:43.302 READ DMA
c8 00 08 58 01 00 e0 00 00:00:43.301 READ DMA
c8 00 08 50 01 00 e0 00 00:00:43.301 READ DMA
c8 00 08 48 01 00 e0 00 00:00:43.301 READ DMA
c8 00 08 40 01 00 e0 00 00:00:43.301 READ DMA
Error 642 occurred at disk power-on lifetime: 1898 hours (79 days + 2 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 a7 b0 75 e0 Error: ICRC, ABRT at LBA = 0x0075b0a7 = 7712935
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 00 a7 b0 75 e0 00 02:00:41.351 READ DMA EXT
25 03 00 a7 af 75 e0 00 02:00:41.346 READ DMA EXT
25 03 00 a7 ae 75 e0 00 02:00:41.342 READ DMA EXT
25 03 00 a7 ad 75 e0 00 02:00:41.337 READ DMA EXT
25 03 00 a7 ac 75 e0 00 02:00:41.332 READ DMA EXT
Error 641 occurred at disk power-on lifetime: 1895 hours (78 days + 23 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 01 e6 8a cd e0 Error: ICRC, ABRT 1 sectors at LBA = 0x00cd8ae6 = 13470438
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 80 67 8a cd e0 00 00:06:42.273 READ DMA EXT
25 03 80 a7 5f 5c e0 00 00:06:42.271 READ DMA EXT
25 03 80 67 9d 68 e0 00 00:06:42.268 READ DMA EXT
25 03 80 27 7a 47 e0 00 00:06:42.257 READ DMA EXT
25 03 80 e7 89 cd e0 00 00:06:42.247 READ DMA EXT
Error 640 occurred at disk power-on lifetime: 1235 hours (51 days + 11 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 8f 52 b9 e0 Error: ICRC, ABRT at LBA = 0x00b9528f = 12145295
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 00 8f 52 b9 e0 00 02:00:15.018 READ DMA EXT
25 03 00 8f 51 b9 e0 00 02:00:15.011 READ DMA EXT
25 03 00 8f 50 b9 e0 00 02:00:15.003 READ DMA EXT
25 03 00 8f 4f b9 e0 00 02:00:14.996 READ DMA EXT
25 03 00 8f 4e b9 e0 00 02:00:14.972 READ DMA EXT
Error 639 occurred at disk power-on lifetime: 1234 hours (51 days + 10 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 00 1f be 3e e0 Error: ICRC, ABRT at LBA = 0x003ebe1f = 4111903
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 00 1f be 3e e0 00 01:10:53.270 READ DMA EXT
25 03 00 1f bd 3e e0 00 01:10:53.262 READ DMA EXT
25 03 00 1f bc 3e e0 00 01:10:53.254 READ DMA EXT
25 03 00 1f bb 3e e0 00 01:10:53.246 READ DMA EXT
25 03 00 1f ba 3e e0 00 01:10:53.238 READ DMA EXT
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
smartctrl output sdb
Code: Select all
# smartctl -a /dev/sdb
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.4-desktop-nrj.69mib] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar
Device Model: WDC WD1200BB-00DWA0
Serial Number: WD-WCAEK1281703
Firmware Version: 15.05R15
User Capacity: 120 034 123 776 bytes [120 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: Wed Jun 13 20:12:48 2012 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: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
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: ( 3999) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection 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: ( 55) 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 144 144 021 Pre-fail Always - 3300
4 Start_Stop_Count 0x0032 100 100 040 Old_age Always - 400
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 253 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 091 091 000 Old_age Always - 6621
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 100 100 000 Old_age Always - 314
194 Temperature_Celsius 0x0022 098 253 000 Old_age Always - 52
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 - 2
200 Multi_Zone_Error_Rate 0x0009 200 155 051 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
smartctrl output sdf
Code: Select all
# smartctl -a /dev/sdf
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.4-desktop-nrj.69mib] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9
Device Model: Maxtor 6Y160M0
Serial Number: Y41XJZGE
Firmware Version: YAR51BW0
User Capacity: 163 924 377 088 bytes [163 GB]
Sector Size: 512 bytes logical/physical
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: Wed Jun 13 20:13:19 2012 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: ( 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 201 199 063 Pre-fail Always - 15561
4 Start_Stop_Count 0x0032 252 252 000 Old_age Always - 2972
5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail Always - 0
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail Offline - 0
7 Seek_Error_Rate 0x000a 253 252 000 Old_age Always - 0
8 Seek_Time_Performance 0x0027 253 238 187 Pre-fail Always - 58420
9 Power_On_Minutes 0x0032 178 178 000 Old_age Always - 1044h+25m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 245 245 000 Old_age Always - 3175
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age Always - 56
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 7146
196 Reallocated_Event_Count 0x0008 253 253 000 Old_age Offline - 0
197 Current_Pending_Sector 0x0008 253 253 000 Old_age Offline - 0
198 Offline_Uncorrectable 0x0008 253 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0008 199 194 000 Old_age Offline - 5
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 033 000 Old_age Always - 113
202 Data_Address_Mark_Errs 0x000a 253 252 000 Old_age Always - 0
203 Run_Out_Cancel 0x000b 253 231 180 Pre-fail Always - 15
204 Soft_ECC_Correction 0x000a 253 252 000 Old_age Always - 0
205 Thermal_Asperity_Rate 0x000a 253 252 000 Old_age Always - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0
209 Offline_Seek_Performnce 0x0024 196 188 000 Old_age Offline - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
SMART Error Log Version: 1
Warning: ATA error count 47 inconsistent with error log pointer 5
ATA Error Count: 47 (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]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 47 occurred at disk power-on lifetime: 19374 hours (807 days + 6 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
-- -- -- -- -- -- --
84 51 03 7c 01 2a e0 Error: ICRC, ABRT at LBA = 0x002a017c = 2752892
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 78 07 01 2a e0 00 00:08:34.960 WRITE DMA
ca 00 28 d7 00 2a e0 00 00:08:34.960 WRITE DMA
ca 00 08 5f d8 29 e0 00 00:08:34.960 WRITE DMA
ca 00 08 df d6 29 e0 00 00:08:34.960 WRITE DMA
ca 00 08 af d5 29 e0 00 00:08:34.960 WRITE DMA
Error 46 occurred at disk power-on lifetime: 19374 hours (807 days + 6 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
-- -- -- -- -- -- --
84 51 10 3f 00 60 e0 Error: ICRC, ABRT at LBA = 0x0060003f = 6291519
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 10 3f 00 60 e0 00 00:08:24.896 WRITE DMA
ca 00 08 07 02 30 e0 00 00:08:24.896 WRITE DMA
ca 00 10 3f 00 30 e0 00 00:08:24.896 WRITE DMA
ca 00 10 3f 00 2c e0 00 00:08:24.896 WRITE DMA
ca 00 08 ff 00 2a e0 00 00:08:24.896 WRITE DMA
Error 45 occurred at disk power-on lifetime: 19346 hours (806 days + 2 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
-- -- -- -- -- -- --
84 51 80 df 3a 00 e0 Error: ICRC, ABRT at LBA = 0x00003adf = 15071
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 80 df 3a 00 e0 00 00:10:35.248 WRITE DMA
ca 00 80 5f 3a 00 e0 00 00:10:35.248 WRITE DMA
ca 00 80 df 39 00 e0 00 00:10:35.248 WRITE DMA
ca 00 80 5f 39 00 e0 00 00:10:35.248 WRITE DMA
ca 00 80 df 38 00 e0 00 00:10:35.248 WRITE DMA
Error 44 occurred at disk power-on lifetime: 19346 hours (806 days + 2 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
-- -- -- -- -- -- --
84 51 80 df 2d 00 e0 Error: ICRC, ABRT at LBA = 0x00002ddf = 11743
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 80 df 2d 00 e0 00 00:10:35.056 WRITE DMA
ca 00 80 5f 2d 00 e0 00 00:10:35.056 WRITE DMA
ca 00 80 df 2c 00 e0 00 00:10:35.056 WRITE DMA
ca 00 80 5f 2c 00 e0 00 00:10:35.056 WRITE DMA
ca 00 80 df 2b 00 e0 00 00:10:35.040 WRITE DMA
Error 43 occurred at disk power-on lifetime: 19346 hours (806 days + 2 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
-- -- -- -- -- -- --
84 51 80 df 27 00 e0 Error: ICRC, ABRT at LBA = 0x000027df = 10207
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ca 00 80 df 27 00 e0 00 00:10:34.864 WRITE DMA
ca 00 80 5f 27 00 e0 00 00:10:34.864 WRITE DMA
ca 00 80 df 26 00 e0 00 00:10:34.864 WRITE DMA
ca 00 80 5f 26 00 e0 00 00:10:34.864 WRITE DMA
ca 00 80 df 25 00 e0 00 00:10:34.864 WRITE DMA
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.