Commit Graph

2 Commits (dcf1e5adfc42fea1196fe706643e5047c60ddf18)

Author SHA1 Message Date
Dustin abfd35a68e raid-array: Create udev rules to auto re-add disks
This udev rule will automatically re-add disks to the RAID array when
they are connected.  `mdadm --udev-rules` is supposed to be able to
generate such a rule based on the `POLICY` definitions in
`/etc/mdadm.conf`, but I was not able to get that to work; it always
printed an empty rule file, no matter what I put in `mdadm.conf`.
2024-11-05 06:52:20 -06:00
Dustin 459d58bfb6 raid-array: Add PB to create md arrays
The `raid-array.yml` playbook can create Linux *md* software RAID arrays
using the `mdadm` command.  Two variables are required: `md_name` and
`raid_disks`.  The former is a string name for the array.  The latter is
an array of paths of block devices to add to the array.
2024-09-01 08:59:28 -05:00