[linux-lvm] vgscan & CDROM

mailinglist at krausam.de mailinglist at krausam.de
Sun Aug 28 11:24:48 UTC 2005


Try:
filter = [ "r|/dev/cdrom|" ]



Am Sonntag, 28. August 2005 12:17 schrieb Chris Osicki:
> Hi
>
> I seam not to be able to convince vgscan to let my cdroms alone.
> In the file /etc/lvm/lvm.conf I have this filter:
>
> [ "r|/dev/cdrom.*" ]
>
> when I run vgscan -v -v I see the following:
>
>
>       /dev/cdrom1: size is 31244 sectors
>   /dev/cdrom1: read failed after 0 of 2048 at 0: Input/output error
>       /dev/cdrom1: size is 31244 sectors
>       /dev/cdrom1: No label detected
>
>
> I tried other variants of this filter without luck.
> On the laptop I'm writing this message on it took several minutes for
> vgscan to finish. On another PC it doesn't take that long but is
> annoying. How do I convince vgscan not to scan those devices?
> I tried also such a filter as test:
>
> [ "r|/dev/pty.*" ]
>
> it didn't work either.
>
> I'm using
>
>   LVM version:     2.01.09 (2005-04-04)
>   Library version: 1.01.00-ioctl (2005-01-17)
>   Driver version:  4.4.0
>
> I would be very thankful for any help.
>
> Regards,
> Chris
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
Micha Krause

Jabber:	SMS-King at jabber.org
Email:	mailinglist at krausam.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20050828/e30df6d2/attachment.sig>


More information about the linux-lvm mailing list