From: Doug Ledford <dledford@redhat.com>
To: Neil Brown <neilb@suse.de>
Cc: Dan Williams <dan.j.williams@intel.com>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: [mdadm git pull] imsm fixes and general external metadata updates
Date: Mon, 23 Feb 2009 10:54:11 -0500 [thread overview]
Message-ID: <1235404451.751.383.camel@firewall.xsintricity.com> (raw)
In-Reply-To: <18822.13389.938876.964972@notabene.brown>
[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]
On Mon, 2009-02-02 at 10:46 +1100, Neil Brown wrote:
> On Wednesday January 21, dan.j.williams@intel.com wrote:
> > Beyond the straightforward fixes the more interesting bits are:
> >
> > mdmon: support scanning for containers
> > This is an attempt to make mdmon more manageable in the initramfs
> > environment. Once mdadm has assembled the rootfs we need to switch the
> > currently running mdmon instance(s) over to the new mount point. With
> > the current code it is awkward to do this in a generic way because a
> > script needs to know the names of all the active containers. This tree
> > allows a script to do "mdmon /proc/mdstat /newroot" to batch convert all
> > mdmon instances to /newroot. This is probably a good time to start
> > interfacing with initramfs@vger.kernel.org to make sure these "initramfs
> > helper" changes are relevant, and to see what else is missing.
>
> We really need a man page for mdmon don't we. Then this sort of text
> could be placed there for safely.
Yes, a man page is definitely needed. I have no intention of putting
mdmon in the initramfs. The only arrays that should be started during
initramfs operation are / and possibly /boot. Both of those are started
readonly. It isn't until later in the boot process (in rc.sysinit on
Fedora/RHEL) that we remount the / device rw. It's my intention to
modify our rc.sysinit so that before the root device goes rw, we start
the necessary mdmon instances. This should be sufficient to keep the
container metadata state consistent with reality and avoids having to
add mdmon to the initramfs. However, that means I need to know how to
invoke mdmon when mdadm isn't starting it for me.
--
Doug Ledford <dledford@redhat.com>
GPG KeyID: CFBFF194
http://people.redhat.com/dledford
Infiniband specific RPMs available at
http://people.redhat.com/dledford/Infiniband
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-02-23 15:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 22:20 [mdadm git pull] imsm fixes and general external metadata updates Dan Williams
2009-01-23 22:51 ` Dan Williams
2009-02-01 23:46 ` Neil Brown
2009-02-23 15:54 ` Doug Ledford [this message]
2009-02-23 18:58 ` Dan Williams
2009-02-23 19:53 ` Doug Ledford
2009-02-23 20:16 ` NeilBrown
2009-02-24 7:57 ` Luca Berra
2009-02-24 23:33 ` When read-only isn't read-only (was Re: [mdadm git pull] imsm fixes and general external metadata updates) John Robinson
2009-02-24 23:45 ` Greg Freemyer
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=1235404451.751.383.camel@firewall.xsintricity.com \
--to=dledford@redhat.com \
--cc=dan.j.williams@intel.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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.