我尝试安装Ubuntu时会报告I / O错误,但SMART数据很好。 我的硬盘死了吗?

当我尝试安装linux时,它告诉我dev sda上有输入输出错误。

我在两台不同的计算机上尝试过Ubuntu和Mint。 因此,它缩小到硬盘。

经过几个小时的谷歌搜索和尝试不同的东西,我尝试使用gparted制作硬盘驱动器ext4 ,但这出现了错误。 这让我觉得硬盘坏了。

我认为硬盘不坏的原因有几个。 我可以在windows中完全使用hdd。 Windows和gparted磁盘运行状况检查都表示没问题。 它的SMART数据非常好。

那么……帮帮忙?

上周,当我检查智能数据时,一切都很好。 现在很糟糕。 奇。 所以我现在很确定我有一个死硬盘。 无论如何,我在这里发布智能数据。

 smartctl 5.41 2011-06-09 r3365 [i686-linux-3.1.6-pmagic] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.10 Device Model: ST3160815AS Serial Number: 5RX4PFTR Firmware Version: 3.CHF User Capacity: 160,041,885,696 bytes [160 GB] Sector Size: 512 bytes logical/physical 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: Sun Jun 24 17:07:49 2012 UTC 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: ( 433) 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: ( 52) minutes. SCT capabilities: (0x0035) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. 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 100 253 006 Pre-fail Always - 0 3 Spin_Up_Time 0x0002 098 096 000 Old_age Always - 0 4 Start_Stop_Count 0x0033 099 099 020 Pre-fail Always - 1568 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 085 060 030 Pre-fail Always - 352177338 9 Power_On_Hours 0x0032 093 093 000 Old_age Always - 6721 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0033 099 099 020 Pre-fail Always - 1529 184 End-to-End_Error 0x0033 100 253 097 Pre-fail Always - 0 187 Reported_Uncorrect 0x003a 001 001 000 Old_age Always - 13311 189 High_Fly_Writes 0x0022 096 096 000 Old_age Always - 4 190 Airflow_Temperature_Cel 0x001a 060 050 000 Old_age Always - 40 (Min/Max 40/42) 194 Temperature_Celsius 0x0000 040 050 000 Old_age Offline - 40 (0 15 0 0) 195 Hardware_ECC_Recovered 0x0032 082 065 000 Old_age Always - 214888792 197 Current_Pending_Sector 0x0000 100 100 000 Old_age Offline - 0 198 Offline_Uncorrectable 0x0000 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0000 200 200 000 Old_age Offline - 0 SMART Error Log Version: 1 ATA Error Count: 13338 (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 13338 occurred at disk power-on lifetime: 6713 hours (279 days + 17 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 00 98 9e a1 e0 Error: UNC at LBA = 0x00a19e98 = 10591896 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 00 08 98 9e a1 e0 00 00:22:34.027 READ DMA EXT ec 00 00 00 00 00 a0 00 00:22:34.025 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:22:34.010 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 00 00:22:43.113 IDENTIFY DEVICE 25 00 08 98 9e a1 e0 00 00:22:43.099 READ DMA EXT Error 13337 occurred at disk power-on lifetime: 6713 hours (279 days + 17 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 00 98 9e a1 e0 Error: UNC at LBA = 0x00a19e98 = 10591896 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 00 08 98 9e a1 e0 00 00:22:34.027 READ DMA EXT ec 00 00 00 00 00 a0 00 00:22:34.025 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:22:34.010 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 00 00:22:34.004 IDENTIFY DEVICE 25 00 08 98 9e a1 e0 00 00:22:31.082 READ DMA EXT Error 13336 occurred at disk power-on lifetime: 6713 hours (279 days + 17 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 00 98 9e a1 e0 Error: UNC at LBA = 0x00a19e98 = 10591896 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 00 08 98 9e a1 e0 00 00:22:34.027 READ DMA EXT ec 00 00 00 00 00 a0 00 00:22:34.025 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:22:34.010 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 00 00:22:34.004 IDENTIFY DEVICE 25 00 08 98 9e a1 e0 00 00:22:31.082 READ DMA EXT Error 13335 occurred at disk power-on lifetime: 6713 hours (279 days + 17 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 00 98 9e a1 e0 Error: UNC at LBA = 0x00a19e98 = 10591896 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 00 08 98 9e a1 e0 00 00:22:34.027 READ DMA EXT ec 00 00 00 00 00 a0 00 00:22:34.025 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:22:34.010 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 00 00:22:34.004 IDENTIFY DEVICE 25 00 08 98 9e a1 e0 00 00:22:31.082 READ DMA EXT Error 13334 occurred at disk power-on lifetime: 6713 hours (279 days + 17 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 00 98 9e a1 e0 Error: UNC at LBA = 0x00a19e98 = 10591896 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 00 08 98 9e a1 e0 00 00:22:26.624 READ DMA EXT ec 00 00 00 00 00 a0 00 00:22:26.624 IDENTIFY DEVICE ef 03 45 00 00 00 a0 00 00:22:26.623 SET FEATURES [Set transfer mode] ec 00 00 00 00 00 a0 00 00:22:26.623 IDENTIFY DEVICE 25 00 08 98 9e a1 e0 00 00:22:31.082 READ DMA EXT SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 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. 

看来您在LBA 10591896上至少有一个坏扇区。启动livecd并尝试运行此命令,并确保完全输入:

 sudo dd if=/dev/sda bs=512 count=1 of=/dev/null skip=10591896 

如果这给你一个IO错误,那么试着写一下:

 sudo dd if=/dev/zero bs=512 count=1 of=/dev/sda seek=10591896 

如果可以,再次运行第一个命令,看它现在是否有效,然后再次检查智能统计。 要么应该有一个重新分配的扇区,在这种情况下,驱动器将坏扇区重新映射到备用扇区,或者写入纠正了问题。 运行long smart selftest以查看是否还有错误并重复。 之后,使用磁盘实用程序检查文件系统。

如果重新分配的计数仍然为零,那么你应该很好,如果不是,那么驱动器有一些损坏,你可能想要更换它。

智能数据对我来说似乎没问题。 日志中有一些错误,但不应该引起恐慌。 你应该尝试格式化孔盘。 然后,hdd-firmware应该在没有用户交互的情况下重新分配块。

顺便说一句。 毫无疑问 ,重新安置行业的硬盘将很快消亡。 ive hdds,搬迁部门运行了十多年,现在没有任何问题。

只要你没有得到智能警告,你的硬盘即将死亡,你应该是安全的。