Hardware Raid 1 with Centos 7

Hello -

Fairly new to MAAS.

I’m trying to use MAAS with HW raid 1 on intel servers and not having much luck.
My builds are failing on deployment.
I’m not sure how I can set the storage after the commission to have the deployment complete.
Has anyone tried this ? suggestions best practices?

-mdadm: stop failed, retrying in 0.2 seconds
mdadm: stop on /dev/md127 attempt 2
/sys/class/block/md127/md/sync_action/sync_max =
mdadm: setting array sync_action=idle
mdadm: (non-fatal) write to /sys/class/block/md127/md/sync_action failed [Errno 13] Permission denied: ‘/sys/class/block/md127/md/sync_action’
/sys/class/block/md127/md/sync_max/sync_max =
mdadm: setting array sync_{min,max}=0
mdadm: (non-fatal) write to /sys/class/block/md127/md/sync_max failed [Errno 13] Permission denied: ‘/sys/class/block/md127/md/sync_max’
Running command [‘mdadm’, ‘–manage’, ‘–stop’, ‘/dev/md127’] with allowed return codes [0] (capture=True)
mdadm stop failed, retrying
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md126 : active raid1 sdb[1] sda[0]
467772416 blocks super external:/md127/0 [2/2] [UU]
[>…] resync = 2.1% (10007552/467772416) finish=37.8min speed=201600K/sec

md127 : inactive sdb1 sda0
2158256 blocks super external:ddf

I use commission scripts for Hardware RAID. If you are using this method, be sure to reboot the server and mark these flags in metadata:

recommission: True
may_reboot: True
hardware_type: storage

with this settings maas will reboot, recomission and detect the new logical drives for deploy on them.

1 Like