Linuxをインストールしようとすると、dev sdaに入出力エラーがあります。
2台の異なるコンピューターでUbuntuとMintの両方を試しました。そのため、HDDに絞り込みます。
何時間もグーグルでいろいろなことを試してみた後、ext4
でgparted
を使ってhardriveを作成しようとしましたが、エラーが発生しました。これにより、HDDが悪いと思うようになります。
Hddが悪くないと思う理由はいくつかあります。 Windowsでhddを完全に使用できます。 Windowsとgparted
のディスクヘルスチェックは、どちらも問題ないことを示しています。そのSMART
データはすべて良好です。
だから...助けて?
先週、スマートデータを確認したところ、すべてが良好でした。今は悪いです。奇数。だから私は今、私は死んだHDDを持っていると確信しています。とにかくここにスマートデータを投稿しています。
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に少なくとも1つの不良セクタがあるようです。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
それが機能する場合は、最初のコマンドを再度実行し、現在機能するかどうかを確認してから、スマート統計を再度確認します。再割り当てされたセクタが存在する必要があります。その場合、ドライブは不良セクタをスペアセクタに再マップするか、書き込みで問題を修正しました。長いスマートセルフテストを実行して、さらにエラーがあるかどうかを確認し、繰り返します。その後、ディスクユーティリティを使用してファイルシステムを確認します。
再割り当てされたカウントがまだゼロである場合、そうでない場合は行ってください。ドライブに何らかの損傷があり、交換する必要がある場合があります。
スマートデータは私にとっては大丈夫のようです。ログにはいくつかのエラーがありますが、パニックに陥ってはなりません。ホールディスクをフォーマットする必要があります。 hdd-firmwareは、ユーザーの操作なしで問題が発生した場合、ブロックを再割り当てする必要があります。
ところでその絶対ナンセンス再配置されたセクターのハードドライブはすぐに死ぬでしょう。再配置されたセクターのive hddは、問題なく10年以上実行されています。
Hddが死にかけているというスマートな警告が表示されない限り、安全である必要があります。