Ubuntu
是否可以以會產生錯誤結果的方式執行 e2fsck?
我有這個 6 個月大的 5TB 外置硬碟。我最近開始遇到很多I/O錯誤,所以我備份了我的數據然後使用gparted創建了一個新的分區表,一個新的主分區。
然後我執行以下程式碼試圖查看它是否是硬體問題:
sudo e2fsck -fcky /dev/sdc1
檢查壞塊(只讀測試):完成 9.24%,已過 11:44:51。(8333 /0/0 錯誤)
老實說,我有點震驚,我沒想到會這麼糟糕。
所以我想我的問題真的是:
是否有可能因錯誤使用工具而從 e2fsck 獲得錯誤結果?或者這些結果是否總是證明硬碟真的非常損壞?
更新:這是 smartctl 結果:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-47-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: WDC WD50NMZW-59BCBS0 Serial Number: WD-WXC2DA1269FR LU WWN Device Id: 5 0014ee 2bf66ed54 Firmware Version: 01.01A01 User Capacity: 5.000.947.523.584 bytes [5,00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 4800 rpm Form Factor: 2.5 inches TRIM Command: Available, deterministic Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Sep 11 12:26:06 2022 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: FAILED! Drive failure expected in less than 24 hours. SAVE ALL DATA. See vendor-specific Attribute list for failed Attributes. General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 73) The previous self-test completed having a test element that failed and the test element that failed is not known. Total time to complete Offline data collection: (12480) 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. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 530) minutes. SCT capabilities: (0x30b5) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. 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 0x002f 001 001 051 Pre-fail Always FAILING_NOW 48799 3 Spin_Up_Time 0x0027 253 253 021 Pre-fail Always - 2875 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1290 5 Reallocated_Sector_Ct 0x0033 185 185 140 Pre-fail Always - 30664 7 Seek_Error_Rate 0x002e 198 195 000 Old_age Always - 899 9 Power_On_Hours 0x0032 095 095 000 Old_age Always - 3812 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 32 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 27 193 Load_Cycle_Count 0x0032 194 194 000 Old_age Always - 20670 194 Temperature_Celsius 0x0022 100 094 000 Old_age Always - 52 196 Reallocated_Event_Count 0x0032 001 001 000 Old_age Always - 1543 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 93 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed: unknown failure 90% 3792 - # 2 Short offline Completed: unknown failure 90% 3792 - # 3 Short offline Completed: unknown failure 90% 3792 - Selective Self-tests/Logging not supported
那是一個損壞的磁碟。感興趣的 SMART 值(最後一列):
1 Raw_Read_Error_Rate ... Pre-fail Always FAILING_NOW 48799 5 Reallocated_Sector_Ct ... Pre-fail Always - 30664 9 Power_On_Hours ... Old_age Always - 3812 194 Temperature_Celsius ... Old_age Always - 52 196 Reallocated_Event_Count ... Old_age Always - 1543 197 Current_Pending_Sector ... Old_age Always - 93 198 Offline_Uncorrectable ... Old_age Offline - 0
關於這個明顯故障磁碟的唯一其他評論是溫度似乎有點高,這可能是正常的。磁碟周圍是否有足夠的氣流?
由於它只有六個月大,我會嘗試讓賣家將其更換為“購買時出現故障”的新產品。但是,如果您無法從 Western Digital 獲得保修更換 - 請參閱https://support-en.wd.com/app/warrantystatusweb並輸入您的序列號開始
WX
。用它做更多的事情沒有什麼意義,除了
- 試圖挽救仍然在您沒有備份的磁碟上的任何數據(
ddrescue
此時使用 - 沒有其他東西會觸及它)- 登記保修索賠
祝你好運。