Re: Removing a failed device from LVM2/DM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan D. Brunelle [Alan.Brunelle@xxxxxx] 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.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux