首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >是否有可能以一种会产生错误结果的方式运行e2fsck?

是否有可能以一种会产生错误结果的方式运行e2fsck?
EN

Unix & Linux用户
提问于 2022-09-11 10:09:58
回答 1查看 367关注 0票数 4

我有这个6个月大的5TB外部硬盘驱动器。最近,我开始遇到很多I/O错误,所以我备份了数据,然后使用gparted创建了一个新的分区表,一个新的主分区。

然后,我运行了以下代码,试图查看它是否是硬件问题:

sudo e2fsck -fcky /dev/sdc1

到目前为止,我有以下结果:

检查错误块(只读测试):9.24%已完成,11:44:51已运行.(8333/0/0错误)

我真的很震惊,没想到事情会这么糟。

所以我想我的问题是:

基于对工具的错误使用,是否有可能从e2fsck中得到错误的结果?或者这些结果总是证明硬盘确实受到了严重破坏?

更新:以下是智能the的结果:

代码语言:javascript
复制
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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2022-09-11 11:27:57

那是个坏了的磁盘。感兴趣的智能值(最后一栏):

1个Raw_Read_Error_Rate ...失败前总是FAILING_NOW 48799 5 Reallocated_Sector_Ct .失败前总是- 30664 9 Power_On_Hours .Old_age总是-3812194 Temperature_Celsius .Old_age总是-52196 Reallocated_Event_Count .Old_age 197 1543 197 Current_Pending_Sector .Old_age总是-93198 Offline_Uncorrectable .Old_age脱机-0

关于这个明显失效的磁盘,唯一的其他评论是,温度似乎有点高,这可能是正常的。圆盘周围有足够的气流吗?

因为它只有六个月的历史,所以我会设法让卖家把它换成一个新的“买时有毛病”。然而,如果不这样做,您将从西部数字获得一个保修更换-请参阅https://support-en.wd.com/app/warrantystatusweb并输入您的序列号开始WX

除了用它做什么都没什么意义,

  • 试图挽救磁盘上还没有备份的任何数据(此时使用ddrescue --其他任何东西都不会碰它)
  • 登记保修要求

祝好运。

票数 7
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/716894

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档