All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: device-mapper development <dm-devel@redhat.com>,
	"ATARAID (eg, Promise Fasttrak,
	 Highpoint 370) related discussions" <ataraid-list@redhat.com>,
	linux-lvm@redhat.com
Subject: Re: [dm-devel] Re: LVM on dmraid breakage
Date: Wed, 08 Aug 2007 17:13:35 -0400	[thread overview]
Message-ID: <46BA31FF.3090509@cfl.rr.com> (raw)
In-Reply-To: <20070807212817.GB2064@agk.fab.redhat.com>

Alasdair G Kergon wrote:
> As I've said many times before, in my view the current problems stem
> from some system components unilaterally switching to an event-driven
> model while others (including lvm2 and initscripts) haven't - and
> combining two incompatible models on a system was "brave".

Actually, none of the involved components here are event driven yet. 
Right now dmraid and lvm are just run during boot time in the init 
scripts.

> If lvm2 is run in an event-driven environment, the idea is for it to
> give up all its device scanning and filtering.  It will hand over
> control of what devices to use to an external module shared by
> everything that needs to know about devices - including mdadm,
> initscripts, mount, hal, udev etc.  [What owns this module is irrelevant
> but udev is an obvious candidate.]

Yes.

> When udev sees a new device, it will inform each subsystem of the
> device.
> 
> lvm2 will provide an interface that is given a device and, if a PV is
> present on it, lvm2 will pass information about it (including its UUID)
> to the external module for storage.
> 
> The external module will have an interface capable of being told
> by lvm2 (at any time) 'Devices with UUIDs X, Y and Z form a volume
> group called VGn'.
> 
> Triggers can be defined so that when all the PV UUIDs are present
> for a volume group with name VGn, an lvm2 command (like 'vgchange -ay
> VGn') gets invoked.
>  
> You can see how md, mount etc. can work in a similar event-driven
> fashion.

Exactly.  Then policy decisions like whether lvm should be allowed to 
auto detect pvs in disks being claimed by dmraid can be easily made with 
udev scripts by the distro rather than having to modify lvm, and 
presumably, all of the other components that are interacting in the 
system.

  reply	other threads:[~2007-08-08 21:13 UTC|newest]

Thread overview: 56+ 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
2007-08-02  6:50 ` [linux-lvm] " Luca Berra
2007-08-02  6:50   ` Luca Berra
2007-08-02 10:45   ` [linux-lvm] " Bryn M. Reeves
2007-08-02 10:45     ` Bryn M. Reeves
2007-08-02 21:50     ` Phillip Susi
2007-08-03  0:40       ` [linux-lvm] Re: [dm-devel] " David Robinson
2007-08-03  0:40         ` David Robinson
2007-08-07 21:37         ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:37           ` Alasdair G Kergon
2007-08-08 21:00           ` Phillip Susi
2007-08-07 21:03       ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:03         ` Alasdair G Kergon
2007-08-08 21:04         ` [dm-devel] " Phillip Susi
2007-08-08 21:45           ` [linux-lvm] " Alasdair G Kergon
2007-08-08 21:45             ` Alasdair G Kergon
2007-08-09 17:27             ` Phillip Susi
2007-08-10  5:09               ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-10  5:09                 ` Luca Berra
2007-08-10 13:49               ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-10 13:49                 ` Alasdair G Kergon
2007-08-10 20:15                 ` Phillip Susi
2007-08-03  7:55     ` [linux-lvm] " Luca Berra
2007-08-03  7:55       ` Luca Berra
2007-08-02 22:04   ` Phillip Susi
2007-08-03  8:11     ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-03  8:11       ` Luca Berra
2007-08-03 18:10       ` Phillip Susi
2007-08-03 19:57         ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-03 19:57           ` Luca Berra
2007-08-03 21:30           ` Phillip Susi
2007-08-04  6:50             ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-04  6:50               ` Luca Berra
2007-08-06 14:45               ` Phillip Susi
2007-08-07  9:17                 ` [linux-lvm] Re: [dm-devel] " Luca Berra
2007-08-07  9:17                   ` Luca Berra
2007-08-07 15:58                   ` Phillip Susi
2007-08-07 22:01                   ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 22:01                     ` Alasdair G Kergon
2007-08-08 21:06                     ` Phillip Susi
2007-08-07 21:53             ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:53               ` Alasdair G Kergon
2007-08-07 21:50         ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:50           ` Alasdair G Kergon
2007-08-07 21:40       ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:40         ` Alasdair G Kergon
2007-08-07 21:28     ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:28       ` Alasdair G Kergon
2007-08-08 21:13       ` Phillip Susi [this message]
2007-08-07 21:02   ` [linux-lvm] Re: [dm-devel] " Alasdair G Kergon
2007-08-07 21:02     ` 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=46BA31FF.3090509@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=ataraid-list@redhat.com \
    --cc=dm-devel@redhat.com \
    --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.