[dm-devel] Constructing RAID 1+0 w/ LVM2/DM

Alan D. Brunelle Alan.Brunelle at hp.com
Thu Jan 24 14:41:18 UTC 2008


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




More information about the dm-devel mailing list