From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan D. Brunelle" Subject: Re: Constructing RAID 1+0 w/ LVM2/DM Date: Thu, 24 Jan 2008 09:41:18 -0500 Message-ID: <4798A38E.2050206@hp.com> References: <47989DA2.1070201@hp.com> <20080124143540.GZ8075@agk.fab.redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080124143540.GZ8075@agk.fab.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids 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