From: Guoqing Jiang <gqjiang@suse.com>
To: Marc Smith <marc.smith@mcc.edu>, linux-raid@vger.kernel.org
Subject: Re: md-cluster Module Requirement
Date: Wed, 31 Aug 2016 22:18:57 -0400 [thread overview]
Message-ID: <57C79011.9090404@suse.com> (raw)
In-Reply-To: <CAHkw+Lf82YEZ3qm9KJ_b_2pUiNFh=nDeEBXYV5PdgtEUtij8eg@mail.gmail.com>
On 08/26/2016 10:40 AM, Marc Smith wrote:
> Hi,
>
> I'm attempting to use md-cluster from Linux 4.5.2 with mdadm 3.4 and
> I'm running into this when attempting to create a RAID1 device with
> the clustered bitmap:
>
> --snip--
> [64782.619968] md: bind<dm-4>
> [64782.629336] md: bind<dm-3>
> [64782.630008] md/raid1:md127: active with 2 out of 2 mirrors
> [64782.630528] md-cluster module not found.
> [64782.630530] md127: Could not setup cluster service (-2)
> [64782.630531] md127: bitmap file superblock:
> [64782.630532] magic: 6d746962
> [64782.630533] version: 5
> [64782.630534] uuid: 10fee18f.f553d7f2.deb926f1.c7c4bd4b
> [64782.630534] events: 0
> [64782.630535] events cleared: 0
> [64782.630536] state: 00000000
> [64782.630537] chunksize: 67108864 B
> [64782.630537] daemon sleep: 5s
> [64782.630538] sync size: 878956288 KB
> [64782.630539] max write behind: 0
> [64782.630541] md127: failed to create bitmap (-2)
> [64782.630577] md: md127 stopped.
> [64782.630581] md: unbind<dm-3>
> [64782.635133] md: export_rdev(dm-3)
> [64782.635145] md: unbind<dm-4>
> [64782.643111] md: export_rdev(dm-4)
> --snip--
>
> I'm using md-cluster built-in, not as a module:
> # zcat /proc/config.gz | grep MD_CLUSTER
> CONFIG_MD_CLUSTER=y
>
> It seems the driver is attempting to load the 'md-cluster' module
> (from drivers/md/md.c):
> --snip--
> err = request_module("md-cluster");
> if (err) {
> pr_err("md-cluster module not found.\n");
> return -ENOENT;
> }
> --snip--
>
> I looked at linux-next and it appears this code is the same; is there
> a test we can do before attempting to load the module in the case that
> its built-in, or is there some other requirement that md-cluster needs
> to be built as a module?
Yes, we need some additional modules corosync/pacemaker and dlm,
pls refer to http://www.spinics.net/lists/raid/msg47863.html, HTH.
Regards,
Guoqing
next prev parent reply other threads:[~2016-09-01 2:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 14:40 md-cluster Module Requirement Marc Smith
2016-09-01 2:18 ` Guoqing Jiang [this message]
2016-09-01 5:52 ` NeilBrown
2016-09-01 9:30 ` Guoqing Jiang
2016-09-01 10:51 ` NeilBrown
2016-09-01 15:45 ` Marc Smith
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=57C79011.9090404@suse.com \
--to=gqjiang@suse.com \
--cc=linux-raid@vger.kernel.org \
--cc=marc.smith@mcc.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox