#1069569 extra_system_ids setting does not work

Package:
lvm2
Source:
lvm2
Description:
Linux Logical Volume Manager
Submitter:
Ian Jackson
Date:
2024-04-20 16:21:04 UTC
Severity:
normal
#1069569#5
Date:
2024-04-20 16:18:57 UTC
From:
To:
root@recovery:~# lvcreate --config 'local/extra_system_id=["hub"]' -L 1G -n test -Z y hub-early-b
  Configuration setting "local/extra_system_id" unknown.
  Cannot access VG hub-early-b with system ID hub with local system ID recovery.
root@recovery:~#

This is almost identical to the example from the lvmsystemid(7)
manpage, under "Overriding system ID".  I also tried the
"lvmlocal.conf" setting exhibited there, and that didn't work either.

I was able to work around the problem by setting "system_id_source" in
lvm.conf and setting and the system's hostname with hostname(8):

root@recovery:~# cat /etc/lvm/lvm.conf
global {
system_id_source = "uname"
}
root@recovery:~#

Ian.