ubuntu – 这是死硬盘的标志吗?

前端之家收集整理的这篇文章主要介绍了ubuntu – 这是死硬盘的标志吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
今天我无法访问我的一个硬盘驱动器,重新启动它现在似乎工作,但我担心它会很快死亡.

在/ var / log / messages中

Jul  4 17:05:02 host-37 kernel: [401496.020869] ata8: EH complete
Jul  4 17:05:02 host-37 kernel: [401496.021146] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.021148] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.021152] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 20 15 56 38 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.046456] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.046459] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.046462] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 20 15 52 38 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.070739] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.070743] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.070747] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 20 15 4e 38 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.094011] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.094015] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.094019] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 47 51 b8 80 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.116921] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.116924] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.116927] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 47 51 b4 80 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.139688] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.139692] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jul  4 17:05:02 host-37 kernel: [401496.139698] sd 0:0:1:0: [sdf] CDB: Read(10): 28 00 47 51 b0 80 00 04 00 00
Jul  4 17:05:02 host-37 kernel: [401496.162018] sd 0:0:1:0: [sdf] Unhandled error code
Jul  4 17:05:02 host-37 kernel: [401496.162021] sd 0:0:1:0: [sdf]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK

Jul  4 20:19:05 host-37 kernel: [413133.616251] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:19:35 host-37 kernel: [413163.682537] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:20:05 host-37 kernel: [413193.748847] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:20:35 host-37 kernel: [413223.815141] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:21:05 host-37 kernel: [413253.881444] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:21:35 host-37 kernel: [413283.947876] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:22:05 host-37 kernel: [413314.014181] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:22:35 host-37 kernel: [413344.080356] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:23:05 host-37 kernel: [413374.146646] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:23:35 host-37 kernel: [413404.212943] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:24:05 host-37 kernel: [413434.279249] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:24:36 host-37 kernel: [413464.345590] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:25:06 host-37 kernel: [413494.411870] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:25:36 host-37 kernel: [413524.478148] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:26:06 host-37 kernel: [413554.544429] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:26:36 host-37 kernel: [413584.610738] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:27:06 host-37 kernel: [413614.677064] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:27:36 host-37 kernel: [413644.743354] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:28:06 host-37 kernel: [413674.809659] XFS (sdf1): xfs_log_force: error 5 returned.
Jul  4 20:28:36 host-37 kernel: [413704.876061] XFS (sdf1): xfs_log_force: error 5 returned.
是的,似乎就是这种情况.我用 SMART来验证(如果你的驱动器/ BIOS支持它)

你可以预先形成一些自我测试等.即:像:

smartctl -a /dev/sdf
smartctl --test=short /dev/sdf

你可以查看man page.

我确保在运行任何测试之前都备份了所有内容以防万一.我还考虑将磁盘挂载为只读并在没有备份的情况下运行完整备份.

猜你在找的Ubuntu相关文章