There are tons of options for mdadm.
No, you should not put a format on the devices prior to adding them to
the array.
It is recommended that you partition the drives prior to adding them
to the array but you don't need to do that.
You can just use the raw drive.

On Sun, Jan 24, 2021 at 7:04 PM John Jason Jordan <[email protected]> wrote:
>
> I can't believe this information is not in the mdadm man page. Web
> sites that purport to make it easy to use mdadm just parrot the man
> page.
>
> I created an array on the four NVMe drives in my TB3 enclosure with the
> following command:
>
> sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=4
> /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 /dev/nvme4n1
>
> Afterwards I found that /dev/md0 had been created. But when I tried to
> format it I got a lot of errors.
>
> Question: Should I have created a partition on each drive first, and
> then made the array out of the four partitions? If so, should each
> partition have been formatted before creating the array?
> _______________________________________________
> PLUG: https://pdxlinux.org
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to