#3583 PR merged: Save copy of /etc/mdadm/mdadm.conf file

Labels: enhancement

gdha opened issue at 2026-03-13 14:28:

Pull Request Details:
  • Type: Enhancement

  • Impact: Normal

  • Reference to related issue (URL): #3582

  • How was this pull request tested? On a VM with Ubuntu 22.04 and md devices

  • Description of the changes in this pull request:
    Script 502_include_mdadm_conf.sh did not check the presence of /etc/mdadm/mdadm.conf file. During recovery md did not honor the original md-device names which resulted in device busy errors.
    With the updated script the recovery works fine again.

pcahyna commented at 2026-03-16 10:57:

How to reproduce the problem? I did many tests with recovery of MD and have not encountered a problem.

jsmeix commented at 2026-03-16 11:20:

@pcahyna
did you test on Ubuntu?
Cf. the comment in
https://github.com/rear/rear/pull/3583/changes

pcahyna commented at 2026-03-16 14:53:

@pcahyna did you test on Ubuntu? Cf. the comment in https://github.com/rear/rear/pull/3583/changes

Ah, I see, on Ubuntu the path is different.


[Export of Github issue for rear/rear.]