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@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@jabber.org Email: mailinglist@krausam.de
Attachment:
pgpC7qJmmdN88.pgp
Description: PGP signature
_______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/