Thursday, July 13, 2006

奇怪的硬盘问题,被修复

我在公司电脑的 /dev/hda10 一直感觉不对,不知道是不是有坏道,也没管它,今天早上启动 Ubuntu Dapper 的时候 /dev/hda10 就不能挂载,fsck 也不行。可以看看下面的具体情况

#fsck -f /dev/hda10
fsck.ext3: Attempt to read block from filesystem resulted in short read while trying to open /dev/hdb1
Could this be a zero-length partition?


使用 mesg | grep -i hda 查看


[4294714.162000] hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=183, high=0, low=183, sector=80
[4294714.162000] end_request: I/O error, dev hdb, sector 80
[4294714.162000] Buffer I/O error on device hdb, logical block 10
[4294715.710000] hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[4294715.710000] hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=183, high=0, low=183, sector=88
[4294715.710000] end_request: I/O error, dev hdb, sector 88
[4294715.710000] Buffer I/O error on device hdb, logical block 11
[4294717.258000] hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[4294717.258000] hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=183, high=0, low=183, sector=96
[4294717.258000] end_request: I/O error, dev hdb, sector 96
[4294717.258000] Buffer I/O error on device hdb, logical block 12
[4294718.831000] hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[4294718.831000] hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=183, high=0, low=183, sector=104
[4294718.831000] end_request: I/O error, dev hdb, sector 104
[4294718.831000] Buffer I/O error on device hdb, logical block 13
[4294720.379000] hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
..................


也不知道是不是坏了,但是在 fdisk -l 查看硬盘一切都很正常,最后在搜索N次之后使用了以下方法在搞定。

# mke2fs -n /dev/hdb1
# e2fsck - b 32768 /dev/hdb1

No comments:

Post a Comment