@related: [[2inch5]] [[IDE]] [[HardDisk]] My Laptop's [[HardDisk]] died a few weeks ago : [[MK2018GAS]], so I bought a second hand one , but it did not work as expected, until I removed and put it back which seems better... ==== IBM-HITACHI 20GO 2.5 ==== @feedback: http://ubuntuforums.org/showthread.php?p=6059869#post6059869 IC25N020ATCS04 * http://www.hitachigst.com/tech/techlib.nsf/techdocs/85256AB8006A31E587256A770052F2E4/$file/t60gh40gn_sp30.pdf * CHS = 163863*16*63 IC25N020ATCX04-0 / 07N9267 http://cgi.ebay.fr/ws/eBayISAPI.dll?ViewItem&ssPageName=STRK:MEWNX:IT&item=320305607348 Was a bit disapointed once I got it $ dmesg hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error } hda: task_in_intr: error=0x40 { UncorrectableError }, CHS=0/0/13, sector=12 ide: failed opcode was: unknown end_request: I/O error, dev hda, sector 12 sudo /sbin//fdisk -l /dev/hda Error: /dev/hda: unrecognised disk label cat /proc//ide/hda/model AC35G030ATCX14%0! ! ! ! ! ! ! ! ! ! ! ! sudo parted /dev/hda print mklabel hdparm -i /dev/hda /dev/hda: Model=AC35G030ATCX14%0! ! ! ! ! ! ! ! ! ! ! !, FwRev=CA3OA7QA, SerialNo=! ! ! CSA21AEMA4EP5 F Config={ HardSect NotMFM HdSw>15uSec Fixed DTR<=5Mbs DTR>10Mbs } RawCHS=14335/272/319, TrkSize=256, SectSize=256, ECCbytes=260 BuffType=259, BuffSize=744kB, MaxMultSect=16, MultSect=off CurCHS=14335/272/319, CurSects=33289488, LBA=yes, LBAsects=55845248 IORDY=no, tPIO={min:496,w/IORDY:376}, tDMA={min:376,rec:376} PIO modes: pio0 pio1 pio2 pio3 pio4 pio? DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 AdvancedPM=yes: unknown setting WriteCache=enabled Drive conforms to: unknown: ATA/ATAPI-2,3,4,5 * signifies the current active mode Switched off, Removed a couple of hours and put it back : Oct 15 22:16:03 nrv kernel: attempt to access beyond end of device Oct 15 22:16:03 nrv kernel: hda: rw=0, want=134219778, limit=39070080 Oct 15 22:16:03 nrv kernel: printk: 444 messages suppressed. sudo parted /dev/hda -s mklabel msdos fdisk -ul /dev/hda Disk /dev/hda: 20 GB, 20003880960 bytes 255 heads, 63 sectors/track, 2432 cylinders, total 39070080 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/hda1 63 1943865 979933 e FAT16 LBA /dev/hda2 1959993 5863725 1951897 83 Linux /dev/hda3 5863788 7807590 971932 82 Linux swap /dev/hda4 7807653 39054015 15623212 f Extended LBA /dev/hda5 7807653 23438835 7815622 83 Linux /dev/hda6 23438898 39054015 7807590 83 Linux hdparm -gi /dev/hda /dev/hda: geometry = 38760/16/63, sectors = 39070080, start = 0 Model=IC25N020ATCX04-0, FwRev=CA2OA7PA, SerialNo=CSH20ADMH4EP4F Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=DualPortCache, BuffSize=1768kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39070080 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: ATA/ATAPI-2,3,4,5 * signifies the current active mode ===== smartctl ===== smartctl -a /dev/hda smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: IBM/Hitachi Travelstar 60GH and 40GN family Device Model: IC25N020ATCX04-0 Serial Number: CSH20ADMH4EP4F Firmware Version: CA2OA7PA User Capacity: 20,003,880,960 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 5 ATA Standard is: ATA/ATAPI-5 T13 1321D revision 3 Local Time is: Wed Oct 15 23:01:44 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: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. 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: ( 645) seconds. Offline data collection capabilities: (0x1b) 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. No 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: ( 26) 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 086 086 062 Pre-fail Always - 11599872 2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0 3 Spin_Up_Time 0x0007 136 136 033 Pre-fail Always - 1 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 374 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0 9 Power_On_Hours 0x0012 049 049 000 Old_age Always - 22461 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 94 191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 79 193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 1341 194 Temperature_Celsius 0x0002 141 141 000 Old_age Always - 39 (Lifetime Min/Max 18/59) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 22 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 59 SMART Error Log Version: 1 ATA Error Count: 232 (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 232 occurred at disk power-on lifetime: 22458 hours (935 days + 18 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 -- -- -- -- -- -- -- 40 51 01 0d 00 00 a0 Error: UNC at LBA = 0x0000000d = 13 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 20 00 01 0d 00 00 a0 00 03:20:27.900 READ SECTOR(S) 20 00 01 0c 00 00 a0 00 03:20:27.900 READ SECTOR(S) 20 00 01 0b 00 00 a0 00 03:20:27.900 READ SECTOR(S) 20 00 01 0a 00 00 a0 00 03:20:27.900 READ SECTOR(S) 20 00 01 09 00 00 a0 00 03:20:27.900 READ SECTOR(S) Error 231 occurred at disk power-on lifetime: 22458 hours (935 days + 18 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 -- -- -- -- -- -- -- 40 51 01 0d 00 00 a0 Error: UNC at LBA = 0x0000000d = 13 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 20 00 01 0d 00 00 a0 00 03:20:23.900 READ SECTOR(S) 20 00 01 0c 00 00 a0 00 03:20:23.900 READ SECTOR(S) 20 00 01 0b 00 00 a0 00 03:20:23.900 READ SECTOR(S) 20 00 01 0a 00 00 a0 00 03:20:23.900 READ SECTOR(S) 20 00 01 09 00 00 a0 00 03:20:23.900 READ SECTOR(S) Error 230 occurred at disk power-on lifetime: 22458 hours (935 days + 18 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 -- -- -- -- -- -- -- 40 51 01 0d 00 00 a0 Error: UNC at LBA = 0x0000000d = 13 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 20 00 01 0d 00 00 a0 00 03:20:20.000 READ SECTOR(S) 20 00 01 0c 00 00 a0 00 03:20:20.000 READ SECTOR(S) 20 00 01 0b 00 00 a0 00 03:20:20.000 READ SECTOR(S) 20 00 01 0a 00 00 a0 00 03:20:20.000 READ SECTOR(S) 20 00 01 09 00 00 a0 00 03:20:20.000 READ SECTOR(S) Error 229 occurred at disk power-on lifetime: 22458 hours (935 days + 18 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 -- -- -- -- -- -- -- 40 51 01 0d 00 00 a0 Error: UNC at LBA = 0x0000000d = 13 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 20 00 01 0d 00 00 a0 00 03:20:16.000 READ SECTOR(S) 20 00 01 0c 00 00 a0 00 03:20:16.000 READ SECTOR(S) 20 00 01 0b 00 00 a0 00 03:20:16.000 READ SECTOR(S) 20 00 01 0a 00 00 a0 00 03:20:16.000 READ SECTOR(S) 20 00 01 09 00 00 a0 00 03:20:16.000 READ SECTOR(S) Error 228 occurred at disk power-on lifetime: 22458 hours (935 days + 18 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 -- -- -- -- -- -- -- 40 51 01 0d 00 00 a0 Error: UNC at LBA = 0x0000000d = 13 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 20 00 01 0d 00 00 a0 00 03:20:12.000 READ SECTOR(S) 20 00 01 0c 00 00 a0 00 03:20:12.000 READ SECTOR(S) 20 00 01 0b 00 00 a0 00 03:20:12.000 READ SECTOR(S) 20 00 01 0a 00 00 a0 00 03:20:12.000 READ SECTOR(S) 20 00 01 09 00 00 a0 00 03:20:12.000 READ SECTOR(S) SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Device does not support Selective Self Tests/Logging I heard a click and noticed that Load_Cycle_Count increseaded , so : sudo hdparm -B 255 /dev/hda see [[smart]] === estimation === http://www.hdsentinel.com /usr/local/bin/hdsentinel Hard Disk Sentinel for LINUX console 0.02 (c) 2008 info@hdsentinel.com Start with -r [reportfile] to save data to report, -h for help Examining hard disk configuration ... HDD Device 0: /dev/hda HDD Model ID : IC25N020ATCX04-0 HDD Serial No: CSH20ADMH4EP4F HDD Revision : CA2OA7PA HDD Size : 19077 MB Interface : IDE/ATA Temperature : 42 °C Health : 87 % Performance : 100 % Power on time: 958 days, 17 hours Est. lifetime: 655 days ==== geomertries ==== cat 20003880960.vmdk # Disk DescriptorFile version=1 CID=616eb2f5 parentCID=ffffffff createType="fullDevice" # Extent description RW 39070080 FLAT "/dev/sdb" 0 # The disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.adapterType="ide" ddb.geometry.cylinders="16383" ddb.geometry.heads="16" ddb.geometry.sectors="63" ddb.uuid.image="73c0dc55-d81e-4f45-9b2b-dc403658c4d9" ddb.uuid.parent="00000000-0000-0000-0000-000000000000" ddb.uuid.modification="00000000-0000-0000-0000-000000000000" ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000" ===== misc ===== * http://en.wikipedia.org/wiki/Hitachi,_Ltd. * http://www.hgst.com/hdd/support/download.htm ===== MORE ===== @TaG: HardDisk JapaN 2Inch5 {{http://cs6255.userapi.com/u3136196/docs/c0992244e55e/jump.gif}}