我的硬盘要坏了:
Apr 3 20:26:48 207 kernel: aacraid: Host adapter abort request (0,0,0,0)
Apr 3 20:26:48 207 kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 3 20:26:58 207 kernel: sd 0:0:0:0: timing out command, waited 360s
Apr 3 20:26:58 207 kernel: sd 0:0:0:0: SCSI error: return code = 0x06000000
Apr 3 20:26:58 207 kernel: end_request: I/O error, dev sda, sector 4358861306
Apr 3 20:26:58 207 kernel: EXT3-fs error (device sda1): ext3_free_branches: Read failure, inode=246590279, block=544857659
Apr 3 20:26:58 207 kernel: Aborting journal on device sda1.
Apr 3 20:33:48 207 kernel: aacraid: Host adapter abort request (0,0,0,0)
Apr 3 20:33:48 207 kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 3 20:33:58 207 kernel: sd 0:0:0:0: timing out command, waited 360s
Apr 3 20:33:58 207 kernel: sd 0:0:0:0: SCSI error: return code = 0x06000000
Apr 3 20:33:58 207 kernel: end_request: I/O error, dev sda, sector 34
Apr 3 20:33:58 207 kernel: Buffer I/O error on device sda1, logical block 0
Apr 3 20:33:58 207 kernel: lost page write due to I/O error on sda1
Apr 3 20:33:58 207 kernel: EXT3-fs error (device sda1) in ext3_reserve_inode_write: Journal has aborted
Apr 3 20:44:18 207 kernel: aacraid: Host adapter abort request (0,0,0,0)
Apr 3 20:44:18 207 kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 3 20:44:30 207 kernel: ext3_abort called.
Apr 3 20:44:30 207 kernel: EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Apr 3 20:44:30 207 kernel: Remounting filesystem read-only
cd
/dev/sda1 挂载到 /data。当我访问某些文件夹时,系统给出“输入/输出错误” 。
我将fsck
在此设备上运行以下步骤:
- 停止所有服务对/data的访问
- 卸载/数据
- tune2fs -O ^has_journal /dev/sda1
- e2fsck -fcy /dev/sda1
- tune2fs -j /dev/sda1
但是运行第 3 步时我得到了以下信息:
# tune2fs -O ^has_journal /dev/sda1
tune2fs 1.39 (29-May-2006)
tune2fs: No such device or address while trying to open /dev/sda1
Couldn't find valid filesystem superblock.
我备份了部分数据。现在该怎么办?
P/S:这个盘用了大概1年了,我的系统读写强度要求高,要换SSD吗?
答案1
恐怕在这种情况下,您将不得不重新启动该盒子。磁盘控制器在与驱动器通信时遇到问题。重新启动后,您很可能必须执行 fsck。完成后,我将检查 SMART 数据:
http://sourceforge.net/apps/trac/smartmontools/wiki
这可以让你更好地了解磁盘的状态并帮助你规划下一步的操作。