Re: Renaming MD devices (metadata=1.1) [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux