All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chandra Seetharaman <sekharan@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: LVM on dmraid breakage
Date: Wed, 01 Aug 2007 15:12:08 -0700	[thread overview]
Message-ID: <1186006328.17399.118.camel@linuxchandra> (raw)
In-Reply-To: <140BA4BE-4B0E-472B-8E4C-29AF02D475C5@redhat.com>

On Wed, 2007-08-01 at 16:44 -0500, Jonathan Brassow wrote:
> On Aug 1, 2007, at 4:19 PM, Phillip Susi wrote:
> 
> > Jonathan Brassow wrote:
> >> I'm not aware of a mechanism that LVM used to skip over owned  
> >> devices... there may exist one.  However, you could use lvm  
> >> filters to skip those underlying devices.
> >>  brassow
> >
> > LVM filters?
> 
> Look in /etc/lvm/lvm.conf for "filter".  There are some examples  
> there.  Be careful though, if you exclude your root partion you may  
> be in for future pain.
> 

To avoid this problem, put your root disk at the start of the filter
with a "a" (like "a|/dev/sda.*|"), and have the "r"ejects after it.

Basically, when a device is found, the filter is walked from left to
write and action is taken when the first match happen. IOW, all your
scsi disks will be "r"ejected with the following filter,

["r|/dev/sd.*|", "a|/dev/sdgp.*|", "a|/dev/sdgo.*|", "a|/dev/sda.*" ]

in effect the later "a"ccepts are useless.

>   brassow
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
-- 

----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - sekharan@us.ibm.com   |      .......you may get it.
----------------------------------------------------------------------

  reply	other threads:[~2007-08-01 22:12 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-01 20:19 LVM on dmraid breakage Phillip Susi
2007-08-01 20:29 ` Jonathan Brassow
2007-08-01 21:19   ` Phillip Susi
2007-08-01 21:44     ` Jonathan Brassow
2007-08-01 22:12       ` Chandra Seetharaman [this message]
2007-08-02  6:50 ` Luca Berra
2007-08-02  6:50   ` [linux-lvm] " Luca Berra
2007-08-02 10:45   ` Bryn M. Reeves
2007-08-02 10:45     ` [linux-lvm] " Bryn M. Reeves
2007-08-02 21:50     ` Phillip Susi
2007-08-03  0:40       ` David Robinson
2007-08-03  0:40         ` [linux-lvm] Re: [dm-devel] " David Robinson
2007-08-07 21:37         ` Alasdair G Kergon
2007-08-07 21:37           ` [linux-lvm] " Alasdair G Kergon
2007-08-08 21:00           ` Phillip Susi
2007-08-07 21:03       ` Alasdair G Kergon
2007-08-07 21:03         ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-08 21:04         ` Phillip Susi
2007-08-08 21:45           ` Alasdair G Kergon
2007-08-08 21:45             ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-09 17:27             ` Phillip Susi
2007-08-10  5:09               ` Luca Berra
2007-08-10  5:09                 ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-10 13:49               ` Alasdair G Kergon
2007-08-10 13:49                 ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-10 20:15                 ` Phillip Susi
2007-08-03  7:55     ` [linux-lvm] " Luca Berra
2007-08-02 22:04   ` Phillip Susi
2007-08-03  8:11     ` Luca Berra
2007-08-03  8:11       ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-03 18:10       ` Phillip Susi
2007-08-03 19:57         ` Luca Berra
2007-08-03 19:57           ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-03 21:30           ` Phillip Susi
2007-08-04  6:50             ` [dm-devel] " Luca Berra
2007-08-04  6:50               ` [linux-lvm] " Luca Berra
2007-08-06 14:45               ` Phillip Susi
2007-08-07  9:17                 ` Luca Berra
2007-08-07  9:17                   ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-07 15:58                   ` Phillip Susi
2007-08-07 22:01                   ` Alasdair G Kergon
2007-08-07 22:01                     ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-08 21:06                     ` Phillip Susi
2007-08-07 21:53             ` Alasdair G Kergon
2007-08-07 21:53               ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:50         ` Alasdair G Kergon
2007-08-07 21:50           ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:40       ` Alasdair G Kergon
2007-08-07 21:40         ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:28     ` Alasdair G Kergon
2007-08-07 21:28       ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-08 21:13       ` Phillip Susi
2007-08-07 21:02   ` Alasdair G Kergon
2007-08-07 21:02     ` [linux-lvm] " Alasdair G Kergon
2007-08-07 20:52 ` Alasdair G Kergon

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=1186006328.17399.118.camel@linuxchandra \
    --to=sekharan@us.ibm.com \
    --cc=dm-devel@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.