create raid1 on a installed system

martin f krafft madduck at madduck.net
Mon Jul 20 06:03:04 UTC 2009


also sprach Rashkae <ubuntu at tigershaunt.com> [2009.07.20.0355 +0200]:
> There is one huge gotcha with this process.
> 
> When you boot to md0 for the first time, the system will fail to detect
> the raid array and after a long wait, dump you to busybox shell.
> 
> This is because when you built the raid array from a working system, the
> array gets tagged with your system hostname.  When the system is booting
> from initrd, mdadm (the program that is responsible for detecting and
> assembling the array) by default will only assemble arrays that match
> the current hostname (which in initrd environment is blank).

Debian's mdadm handles this properly (by exporting the homehost to
the initramfs and passing it to mdadm -A explicitly), this seems
like a regression introduced by the Ubuntu patch.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"without music, life would be a mistake."
                                                 - friedrich nietzsche
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090720/e87d260a/attachment.sig>


More information about the ubuntu-users mailing list