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

Re: [linux-lvm] vgscan & CDROM



On Sun, Aug 28, 2005 at 01:54:38PM +0200, mailinglist krausam de wrote:
> Works for me.

Even if you put an empty CD-ROM or DVD into the drive and run
vgscan -v -v -v 2>&1 | grep cdrom ?

Then we must be using different lvm versions.

> 
> but my dev is /dev/cdrom if yours is /dev/cdrom1 try filter = 
> [ "r|/dev/cdrom1|" ]

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 have two DVD writers /dev/hd[ab] /dev/cdrom and /dev/cdrom1 are
softlinks to them.
vgscan still access them both.

Could anyone who knows the code comment on this?
Looks like I will be going to read it.

Thanks,
Chris

> 
> Am Sonntag, 28. August 2005 12:47 schrieb Chris Osicki:
> > On Sun, Aug 28, 2005 at 01:24:48PM +0200, mailinglist 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 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
> > >
> > >
> > >
> > > _______________________________________________
> > > 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:	Micha krausam de
> 
> PGP:
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> mQGiBEKdhB0RBACNN7m5cfwk5NwowfHoqTDtPwPMikXmbrxAvsu9LPcs14lag3wt
> 0FsnGtHT0SUFRmSmz2YLJ0puLdKHmNrO+rItnjdgu/vVBLbCme39jSERjTO4OC/2
> bRoB21SAKFoxV8oGNgxrwhjk4MNdyGcGw/UbtI5MxplZyZXOGAV3TDS4rwCgpYwc
> 4PWDV1a5zYu+X5NPoo0XNFcD/3wFKxa4HHBQvstL8CcIEoapvHl0fczAy/4ZIxxJ
> KeJ1p6xoY6JfelfhhGSt7yzXPGljC1FxC7KQXUNCiUvKHO2vuz/X5jU+671nSGDz
> 6WUap1/NOkDBqDu9x3gjq7KpCdESK4KnULcf4tjqE1B6jU2Vfq3ebq/+AceQWP31
> uN5CA/9Wv4hQCMnJ+NwM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AAoJEHwEeObQ
> NvC44JAAn092/z/Oe4FsFKmVGryK1hgbjTfLAJ9lYqKX52FmTbOF2Y5ci/il8Igs
> 2g==
> =G0+3
> -----END PGP PUBLIC KEY BLOCK-----
> 



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


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