硬盘错误

硬盘错误

我正在使用 Fedora 23,在安装或更新和打包时出现此错误。我的“/var/log/messages”日志是...

May 27 14:39:48 jackson kernel: ata1.00: status: { DRDY ERR }
May 27 14:39:48 jackson kernel: ata1.00: error: { UNC }
May 27 14:39:48 jackson kernel: ata1.00: configured for UDMA/133
May 27 14:39:48 jackson kernel: sd 0:0:0:0: [sda] tag#23 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 27 14:39:48 jackson kernel: sd 0:0:0:0: [sda] tag#23 Sense Key : Medium Error [current] [descriptor] 
May 27 14:39:48 jackson kernel: sd 0:0:0:0: [sda] tag#23 Add. Sense: Unrecovered read error - auto reallocate failed
May 27 14:39:48 jackson kernel: sd 0:0:0:0: [sda] tag#23 CDB: Read(10) 28 00 57 ba 7f 80 00 00 08 00
May 27 14:39:48 jackson kernel: blk_update_request: I/O error, dev sda, sector 1471840128
May 27 14:39:48 jackson kernel: ata1: EH complete
May 27 14:39:48 jackson kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
May 27 14:39:48 jackson kernel: ata1.00: irq_stat 0x40000001
May 27 14:39:48 jackson kernel: ata1.00: failed command: READ DMA EXT
May 27 14:39:48 jackson kernel: ata1.00: cmd 25/00:08:80:7f:ba/00:00:57:00:00/e0 tag 6 dma 4096 in#012         res 51/40:08:80:7f:ba/00:00:57:00:00/e0 Emask 0x9 (media error)

您可以在这里找到我的硬盘详细信息(fdisk -l输出)

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x8ae3e9d8

Device     Boot      Start        End    Sectors  Size Id Type
/dev/sda1             2048     718847     716800  350M  7 HPFS/NTFS/exFAT
/dev/sda2  *        718848  209819647  209100800 99.7G  7 HPFS/NTFS/exFAT
/dev/sda3        209819648  210843647    1024000  500M 83 Linux
/dev/sda4        210847742 1953523711 1742675970  831G  5 Extended
/dev/sda5        210847744  630278143  419430400  200G  7 HPFS/NTFS/exFAT
/dev/sda6        630280192 1049710591  419430400  200G  7 HPFS/NTFS/exFAT
/dev/sda7       1049712640 1469143039  419430400  200G  7 HPFS/NTFS/exFAT
/dev/sda8       1469145088 1888575487  419430400  200G 83 Linux
/dev/sda9       1888577536 1892673535    4096000    2G 82 Linux swap / Solaris
/dev/sda10      1892675584 1893650431     974848  476M 83 Linux
/dev/sda11      1893652480 1953523711   59871232 28.6G 83 Linux

Partition 4 does not start on physical sector boundary.

在这里您可以看到另一个错误,它通知我分区 4 未从物理扇区启动。

答案1

您需要购买一块新硬盘,然后将此硬盘克隆到新硬盘上,以免问题变得更糟。如果无法重新分配坏扇区,则会用尽备用扇区。我不知道您的日志文件中不同扇区有多少这样的扇区,但您的硬盘即将出现故障。硬盘可能在 6 个月或更长时间内不会坏掉,但当硬盘坏掉时,所有未备份的数据都会消失。

相关内容