[linux-lvm] vgscan & CDROM

Chris Osicki lvm at osk.ch
Sun Aug 28 10:47:30 UTC 2005


On Sun, Aug 28, 2005 at 01:24:48PM +0200, mailinglist at krausam.de wrote:
> Try:
> filter = [ "r|/dev/cdrom|" ]

Have you tried it?

This doesn't work for me.

Does anybody know the solution?

Regards,
Chris

> 
> 
> 
> 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



> _______________________________________________
> 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/

-- 

Chris Osicki osk at osk.ch
Dipl. Informatik-Ing. HTL




More information about the linux-lvm mailing list