All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Corry <kevcorry@us.ibm.com>
To: dm-devel@redhat.com, Molle Bestefich <molle.bestefich@gmail.com>
Cc: gerte@nieuwenborg.nl
Subject: Re: dm-mon fails to load raid1 target
Date: Mon, 31 Jan 2005 07:47:10 -0600	[thread overview]
Message-ID: <200501310747.10552.kevcorry@us.ibm.com> (raw)
In-Reply-To: <62b0912f05013009209d8d8f0@mail.gmail.com>

On Sunday 30 January 2005 11:20 am, Molle Bestefich wrote:
> Hi
>
> I can't get dm_mon to load the raid1 target.

Do you mean "dm_mod", which is the core of the DM driver?

> The syslog says (timestamps removed):
> livecd device-mapper: : unknown target type
> livecd
> livecd device-mapper: error adding target to table

This means a user-space program tried to load a device-table for a target-type 
that doesn't exist or couldn't be loaded.

> Seems that there's a completely blank syslog message (reproducible),
> and a surplus colon in the first message.  Might be related to the
> dmraid tool.  Anyway.
>
> I'm booting with a Gentoo CD [gen2dmraid 0.99 - kernel: 2.6.9, driver
> 4.1.0, library 1.00.17-ioctl].
>
> The /lib/modules/.../raid1.ko file is present.

That is the module for MD/Software-RAID RAID-1, not the Device-Mapper 
mirroring module. They are completely different drivers that just happen to 
be in the same directory in the kernel source and module trees.

> I tried modprobe raid1 (fine), this didn't add the mirror target to
> "dmsetup targets".
> Tried unloading dm-mon, reloading raid1, loading dm-mon, still no mirror
> target.
>
> Any hints on what is going wrong / what I am doing wrong?

The Device-Mapper mirroring target is called "dm-mirror". Check your kernel 
configuration and make sure you have CONFIG_DM_MIRROR set to "y" or "m". If 
necessary, you may need to rebuild your kernel to enable it. Once it's 
enabled, run "dmsetup targets" and look for a "mirror" entry. If you've 
compiled DM mirroring as a module, try "modprobe dm-mirror", and then run 
"dmsetup targets" again.

-- 
Kevin Corry
kevcorry@us.ibm.com
http://evms.sourceforge.net/

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2005-01-31 13:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-30 17:20 dm-mon fails to load raid1 target Molle Bestefich
2005-01-31 13:47 ` Kevin Corry [this message]
2005-02-01  8:41   ` Molle Bestefich

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=200501310747.10552.kevcorry@us.ibm.com \
    --to=kevcorry@us.ibm.com \
    --cc=dm-devel@redhat.com \
    --cc=gerte@nieuwenborg.nl \
    --cc=molle.bestefich@gmail.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.