Re: mdadm 4.3: Value cannot be set as name. Not POSIX compatible.
Reply #7 –
Fixed. (1) Removed colon from `mdadm --assemble` command:
-mdadm -q --assemble /dev/md/A1_ROOT --name=:A1_ROOT
+mdadm -q --assemble /dev/md/A1_ROOT --name=A1_ROOT
(2) Just in case, added `HOMEHOST` to `/etc/mdadm.conf`:
HOMEHOST <ignore>
AUTO -all
(This is whole file; I use names & labels everywhere, no GUIDs). Renaming arrays was NOT needed:
# mdadm --detail /dev/md/A1_ROOT | grep Name
Name : :A1_ROOT
Although it worked even if I renamed it to e.g. "a1:A1_ROOT", .i.e. `mdadm -A ... --name=A1_ROOT` takes `name` parameter without host.
Since I've got empty host in array name, maybe I could write `HOMEHOST <none>` instead of `<ignore>`, but it's good as it is.