Re: mkinitcpio: mdadm_udev Hook

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



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux