1、问题描述
# lvdisplay
/dev/VolGroup1/LVdata1: read failed after 0 of 4096 at 0: Input/output error
/dev/VolGroup1/LVdata1: read failed after 0 of 4096 at 214744104960: Input/output error
/dev/VolGroup1/LVdata1: read failed after 0 of 4096 at 214744162304: Input/output error
/dev/VolGroup1/LVdata1: read failed after 0 of 4096 at 4096: Input/output error
2、查看设备
# ls /dev/VolGroup1 -lh
total 0
lrwxrwxrwx 1 root root 7 Jul 20 09:58 LVdata1 -> ../dm-5
# dmsetup status
VolGroup00-LVtmp: 0 20971520 linear
VolGroup00-LVhome: 0 1024000 linear
VolGroup1-LVdata1: 0 419422208 linear
VolGroup00-LVvar: 0 48685056 linear
VolGroup00-LVswap: 0 8388608 linear
VolGroup00-LVroot: 0 46137344 linea
3、移除设备依赖
# dmsetup remove --force VolGroup1-LVdata1
4、为设备重新进行处理
# pvdisplay
--- Physical