ls:读取目录。:输入/输出错误

时间:2013-09-16 02:56:27

标签: linux filesystems

当我尝试在已安装的硬盘上使用“ls”时,我的系统出现了I / O错误。

我正在使用

hadoop@hbase1:/hddata$ uname -a
Linux hbase1 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013 x86_64    x86_64 x86_64 GNU/Linux

hadoop@hbase1:/hddata$ df
Filesystem                      1K-blocks       Used Available Use% Mounted on
/dev/mapper/hbase2--vg-root     468028968    2715496 441532304   1% /
udev                              6081916          4   6081912   1% /dev
tmpfs                             2436652        336   2436316   1% /run
none                                 5120          0      5120   0% /run/lock
none                              6091620          0   6091620   0% /run/shm
/dev/sda1                      1922727280  867279740 957771940  48% /hddata
/dev/sdb1                          233191      27854    192896  13% /boot
10.18.103.101:/data/marketdata 1883265024 1644255232 143344640  92% /srv/data/marketdatah

最后几行dmesg

hadoop@hbase1:/hddata$ dmesg | tail
[316263.280056] EXT4-fs (sda1): previous I/O error to superblock detected
[316263.281326] sd 0:0:0:0: [sda] Unhandled error code
[316263.281329] sd 0:0:0:0: [sda]
[316263.281330] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[316263.281332] sd 0:0:0:0: [sda] CDB:
[316263.281334] Write(10): 2a 00 00 00 00 3f 00 00 08 00
[316263.281342] end_request: I/O error, dev sda, sector 63
[316263.282584] Buffer I/O error on device sda1, logical block 0
[316263.283799] lost page write due to I/O error on sda1
[316263.283842] EXT4-fs error (device sda1): ext4_find_entry:1270: inode #2: comm bash: reading directory lblock 0

1 个答案:

答案 0 :(得分:4)

Buffer I/O error on device sda1, logical block 0

这种事情表明即将发生的硬件故障。我会尽你所能将你需要的所有内容备份到其他地方,并在驱动器无法修复之前更换驱动器。