warewulf / warewulf3

Warewulf is a scalable systems management suite originally developed to manage large high-performance Linux clusters.
107 stars 45 forks source link

Manually Merge #231 - Added mdadm support for provision #296

Closed bensallen closed 2 years ago

bensallen commented 2 years ago

Manually merged in the great work of @macdems in #231:

Adds support for mdadm based RAID arrays. The sample syntax to create RAID0 is:

select /dev/sda
mklabel gpt
mkpart primary 0% 100%
set 1 raid on

select /dev/sdb
mklabel gpt
mkpart primary 0% 100%
set 1 raid on

raid0 0 sda1 sdb1

mkfs 0 ext2 -L tmp

Supported raid levels are 0, 1, 4, 5, 6, 10