[arch-general] do i need to configure mkinitcpio.conf for my md array ?
gdamjan at gmail.com
Thu Jan 16 14:34:39 UTC 2020
On Thu, 16 Jan 2020 at 14:46, Shadrock Uhuru via arch-general
<arch-general at archlinux.org> wrote:
> 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.
More information about the arch-general