Re: do i need to configure mkinitcpio.conf for my md array ?

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



On Thu, 16 Jan 2020 at 14:46, Shadrock Uhuru via arch-general
<arch-general@xxxxxxxxxxxxx> wrote:
>
>
> Hi
> i have just configured my 4 disk raid 10 array with mdadm
> the filesystem is ext4 unencrypted
> and arch is installed on a separate disk
> do i need to reconfigure mkinitcpio.conf for my md array
> so that the array is assembled and started at boot,
> all the examples i've seen have arch installed on the raid array
> including the example in the wiki https://wiki.archlinux.org/index.php/RAID
> i have not reboot the new array yet
> so i would like to make sure everything necessary is configure before i do that.

you need the "mdadm" hook in HOOKS in /etc/mkinitcpio.conf, and
rebuild the initramfs.

the hook would auto-detect the raid setup, but it will also include
/etc/mdadm.conf if it exists.

-- 
damjan



[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