From: Chris Osicki <lvm@osk.ch>
To: micha@krausam.de,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgscan & CDROM
Date: Sun, 28 Aug 2005 13:56:18 +0200 [thread overview]
Message-ID: <20050828115618.GE26065@gutek> (raw)
In-Reply-To: <200508281354.40370.mailinglist@krausam.de>
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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TWXHVL1+yhBhYJRt08bXHRLwyDbAHL5EfunR+/gXN9bFy
> x15YdErTKjZkJCmdfOQHhICiMPTAc4hJBBgRAgAJBQJCnYQjAhsMAAoJEHwEeObQ
> 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
next prev parent reply other threads:[~2005-08-28 11:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-28 10:17 [linux-lvm] vgscan & CDROM Chris Osicki
2005-08-28 11:07 ` Fredrik Tolf
2005-08-28 11:42 ` Jean-Luc Coulon (f5ibh)
2005-08-29 17:58 ` Luca Berra
2005-08-29 18:51 ` Chris Osicki
2005-08-28 11:24 ` mailinglist
2005-08-28 10:47 ` Chris Osicki
2005-08-28 11:54 ` mailinglist
2005-08-28 11:56 ` Chris Osicki [this message]
2005-08-28 18:36 ` Luca Berra
2005-08-28 19:05 ` Chris Osicki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050828115618.GE26065@gutek \
--to=lvm@osk.ch \
--cc=linux-lvm@redhat.com \
--cc=micha@krausam.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.