2014年5月

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

gcs.jpg

昨日进入一目录(/data2),确是有错误发生:

15:42:39 root@bookfm [~] # cd /data2/
15:42:58 root@bookfm [/data2] # ls
ls: 读取目录 .: 输入/输出错误

先卸载该分区

15:43:01 root@bookfm [/data2] # umount /data2

如此,甚是奇怪,思考了一会,想到该分区做的是LVM,于是:

16:17:48 root@bookfm [~] # vgscan
Reading all physical volumes.  This may take a while...
/dev/data_backup/backup_data: read failed after 0 of 4096 at 0: 输入/输出错误
/dev/data_backup/backup_data: read failed after 0 of 4096 at 4096: 输入/输出错误
/dev/data_backup/backup_data: read failed after 0 of 4096 at 0: 输入/输出错误
Found volume group "vg_data" using metadata type lvm2
Found volume group "data_backup" using metadata type lvm2
Found volume group "VolGroup_ID_9201" using metadata type lvm2

这看起来 data_backup 这个卷组有问题,于是想尝试看能不能重新激活一下该卷组:

16:24:53 root@bookfm [~] # vgchange -an data_backup
/dev/data_backup/backup_data: read failed after 0 of 4096 at 0: 输入/输出错误
0 logical volume(s) in volume group "data_backup" now active

- 阅读剩余部分 -