Open mlaguilharre opened 2 years ago
In my view, the 'auto' function should be supported in mdraid RA.
I think that's a per distro decision. Pacemaker should support both Raid1 and mdadm.
I've asked the dev of the agent whether we intend to add this feature to mdadm.
There's no plans to add this feature to the mdraid agent.
Thanks for the info. let's keep opening this issue. If I have time, I will submit a patch. I estimate the time is some months later.
We have thousands resource agent Raid1 that contains each several soft raid device. They are managed thanks to the parameters raidconf="/etc/mdadm.conf" raiddev=auto. The /etc/mdamd.conf contains several entries for each soft raid device:
eg:
With latest pacemaker version, "Raid1" Resource Agent is obsoleted by "mdraid", unfortunately there is no equivalent parameter in "mdraid" for raiddev=auto.
If we need to migrate to mdraid, it needs to create a Resource Agent for each Soft Raid device which is cumbersome.