All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Osicki <lvm@osk.ch>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgscan & CDROM
Date: Sun, 28 Aug 2005 21:05:16 +0200	[thread overview]
Message-ID: <20050828190516.GA25137@gutek> (raw)
In-Reply-To: <20050828183614.GD13825@percy.comedia.it>


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

      reply	other threads:[~2005-08-28 19:05 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
2005-08-28 18:36         ` Luca Berra
2005-08-28 19:05           ` Chris Osicki [this message]

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=20050828190516.GA25137@gutek \
    --to=lvm@osk.ch \
    --cc=linux-lvm@redhat.com \
    /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.