All of lore.kernel.org
 help / color / mirror / Atom feed
From: Flemming Frandsen <flemming.frandsen@stibo.com>
To: dm-devel@redhat.com
Subject: DM vs. MD: The showdown
Date: Tue, 5 May 2009 14:51:39 +0200	[thread overview]
Message-ID: <4A00365B.7030500@stibo.com> (raw)

I've searched high and low for any info, but my google-fu has failed me, 
so feel free to redirect me to a more appropriate mailing list or 
documentation if this is too OT.

I have a box that had a working md RAID 1+0 setup, iow:
* /dev/md1 is a mirror containing /dev/sda2 and /dev/sdc2
* /dev/md2 is a mirror containing /dev/sdb2 and /dev/sdd2
* /dev/md3 is a stripe set of /dev/md1 and /dev/md2

The problem is that I recently had to enable multipath to hook up to the 
SAN, that part went ok, but afterwards my /proc/mdstat shows that dm 
seems to have renamed all my disks:
md1 : active raid1 dm-2[0]
       48829440 blocks [2/1] [U_]
md2 : active raid1 dm-3[0]
       48829440 blocks [2/1] [U_]

and mdadm can no longer create md3 because:
mdadm: no devices found for /dev/md3.

For some reason dm has found it funny to grab the md1 and md2 mirrors 
and use them to create the stripe set: /dev/mapper/md|md3

I've mounted the /dev/mapper/md|md3 device and it seems to contain my 
file system, but I'd really like to get dm out of the way and only use 
it to handle the multipath bits needed for the SAN.

How do I tell dm to keep its paws to itself?

I'm running Linux 2.6.20 (on a Ubuntu 7.04), btw.

-- 
  Regards Flemming Frandsen - Stibo Systems - DK - STEP Release Manager

             reply	other threads:[~2009-05-05 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 12:51 Flemming Frandsen [this message]
2009-05-05 13:53 ` DM vs. MD: The showdown Bryn M. Reeves
2009-05-06  9:40   ` Flemming Frandsen

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=4A00365B.7030500@stibo.com \
    --to=flemming.frandsen@stibo.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.