[dm-devel] Removing a failed device from LVM2/DM
malahal at us.ibm.com
malahal at us.ibm.com
Tue Sep 1 22:47:04 UTC 2009
Alan D. Brunelle [Alan.Brunelle at hp.com] wrote:
> Unfortunately:
>
> # rm -rf /etc/lvm/cache
>
> # vgscan
> Reading all physical volumes. This may take a while...
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 0: Input/output error
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 291347562496: Input/output error
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 291347632128: Input/output error
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 0: Input/output error
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 512 at 4096: Input/output error
> /dev/disk/by-id/scsi-360060b0000837a508c01035ef0d00033: read failed
> after 0 of 2048 at 0: Input/output error
> Found volume group "vg" using metadata type lvm2
Looks like you have some symbolic links that point to a dead device.
Change your filter to accept devices appropriately, maybe like below
(untested!).
filter = [ "r|sdab|", a|/dev/sd|", "r|.*|" ]
The above filter would avoid looking at /dev/disk/by-id and other
unneeded directories.
Thanks, Malahal.
More information about the dm-devel
mailing list