All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Constructing RAID 1+0 w/ LVM2/DM
Date: Thu, 24 Jan 2008 09:41:18 -0500	[thread overview]
Message-ID: <4798A38E.2050206@hp.com> (raw)
In-Reply-To: <20080124143540.GZ8075@agk.fab.redhat.com>

Alasdair G Kergon wrote:
> On Thu, Jan 24, 2008 at 09:16:02AM -0500, Alan D. Brunelle wrote:
>>        /dev/dm-2: Skipping: Suspended dm device
>
> That code was never completed.  It applies a stronger test than
> necessary and assumes no mirrors are safe to use, even though some
> would be.
>
> Alasdair
So, does that mean that one can not construct a RAID 1+0 device using 
LVM2/DM in such a manner? Is there some way to override this behavior? 
Is it the 'ignore_suspended_devices() or !device_is_usable() call in the 
following causing the problem:

        /* Skip suspended devices */
        if (MAJOR(dev->dev) == _device_mapper_major &&
            ignore_suspended_devices() && !device_is_usable(dev->dev)) {
                log_debug("%s: Skipping: Suspended dm device", name);
                return 0;
        }

Thanks for the answer though...
Alan

  reply	other threads:[~2008-01-24 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 14:16 Constructing RAID 1+0 w/ LVM2/DM Alan D. Brunelle
2008-01-24 14:35 ` Alasdair G Kergon
2008-01-24 14:41   ` Alan D. Brunelle [this message]
2008-01-24 14:54     ` Alasdair G Kergon
2008-01-24 15:55       ` Alan D. Brunelle

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=4798A38E.2050206@hp.com \
    --to=alan.brunelle@hp.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.