From: Gilbert Kowarzyk <kowarzyk@grm.polymtl.ca>
To: Phil Turmel <philip@turmel.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: Renaming MD devices (metadata=1.1) [SOLVED]
Date: Wed, 11 Jan 2012 01:23:56 -0500 [thread overview]
Message-ID: <4F0D2AFC.6050107@grm.polymtl.ca> (raw)
In-Reply-To: <4F0C33F6.4050705@turmel.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
my reply is below.
>> I have since redone these steps saving the changes in the
>> /etc/mdadm.conf file, but after a reboot the same thing happens
>> (despite the /etc/mdadm.conf file saying otherwise).
>
>> So, I've run out of ideas... help?
>
> You might just need to update your initramfs. It needs to have its
> own copy of mdadm.conf for use before the root filesystem is
> mounted.
>
> I don't use CentOS or its upstream, so I'm not sure what command
> will do this for you, but I suspect it is well documented. :-)
So what I did is:
1.- reassemble all drive updating the metadata as I explained before.
2.- re-generating a /etc/mdadm.conf file
3.- update the initramfs for my current kernel.
For CentOS, the command would be (if anyone else ever needs this):
dracut --force
It seems to have worked!
Thanks again, I don't think I would have guessed this, and I didn't
find it written anywhere I looked (maybe it's there, but I managed to
overlook it!).
Well, I learned a whole bunch of cool things!
(between this and the udev explanation of Michal Soltys).
Have a nice week,
Gilbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: digital signature
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8NKvsACgkQOYVp1RpLsmWRoACglzwSiQbt5495OLVaiSQ+82oJ
8yAAn0VoFUu8waP33dDgFpV4/CSr65cJ
=cEbA
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2012-01-11 6:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 6:12 Renaming MD devices (metadata=1.1) Gilbert Kowarzyk
2012-01-10 10:59 ` Michal Soltys
2012-01-11 6:07 ` Gilbert Kowarzyk
2012-01-11 6:20 ` NeilBrown
2012-01-11 6:39 ` Gilbert Kowarzyk
2012-01-11 7:03 ` NeilBrown
2012-01-11 16:01 ` Gilbert Kowarzyk
2012-01-11 23:04 ` NeilBrown
2012-01-12 0:08 ` Gilbert Kowarzyk
2012-01-10 12:49 ` Phil Turmel
2012-01-11 6:23 ` Gilbert Kowarzyk [this message]
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=4F0D2AFC.6050107@grm.polymtl.ca \
--to=kowarzyk@grm.polymtl.ca \
--cc=linux-raid@vger.kernel.org \
--cc=philip@turmel.org \
/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