Am 03.10.2012 14:41, schrieb Simon Perry:
> Hi,
> 
> I've just been re-installing a box, and saw that the wiki says regarding
> using the mdadm_udev hook:
> 
>> "This is the preferred method of mdadm assembly (rather than using the
>> above mdadm hook). "
> 
> I've tried to use the mdadm_udev hook, but the devices get named:
> 
>> normal md0 (/boot)                                      is md127
>> normal md1 (encrypted, then lvm with swap and / on it ) is md126
> 
> I found this out with "cat /proc/partitions" once my box failed to boot
> and dropped to the initramfs shell.
> 
> Seems pretty random, the first actual device isn't even the lowest
> number.

You need to create a file /etc/mdadm.conf. mdadm --examine --scan will
generate the right lines for you. This file will be added to the
initramfs and your names will be fine again.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to