Hi Luca I tried your idea: grep cdrom /etc/lvm/lvm.conf filter = [ "r|/dev/hdb|", "r|/dev/hdc|", "r|/dev/cdrom|" ] vgscan -v -v 2>&1 | grep cdrom /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 /dev/cdrom: size is 4 sectors Regards, Chris On Sun, Aug 28, 2005 at 08:36:14PM +0200, Luca Berra wrote: > On Sun, Aug 28, 2005 at 01:56:18PM +0200, Chris Osicki wrote: > >OK, that are my filters now: > > > > filter = [ "r|/dev/hdb|" ] > > filter = [ "r|/dev/hdc|" ] > > filter = [ "r|/dev/cdrom|" ] > > filter = [ "r|/dev/cdrom1|" ] > > filter = [ "r|/dev/cdrom*|" ] > > filter = [ "r|/dev/cdrom.*|" ] > > > i tought the syntax was: > filter = [ "r|/dev/hdb|", "r|/dev/hdc|", "r|/dev/cdrom|" ] > > you should not need the last 3, since "r|/dev/cdrom|" being a regexp > matches all of them. > > > btw, i believed "sysfs_scan = 1" was enough to skip cdroms > > L. > > > > > -- > Luca Berra -- bluca@comedia.it > Communication Media & Services S.r.l. > /"\ > \ / ASCII RIBBON CAMPAIGN > X AGAINST HTML MAIL > / \ > > _______________________________________________ > 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/ -- Chris Osicki osk@osk.ch Dipl. Informatik-Ing. HTL _______________________________________________ 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/