Red Hat Bugzilla – Bug 870684
Consider setting unique name for VG for LVM installations
Last modified: 2013-02-28 23:11:34 EST
Description of problem:
In previous Fedora releases automatically created LVM Volume Group during installation were named according to hostname of machine.
This somehow simplifies situations when you plug in disk with another LVM installation of Fedora to one machine (so there is no name conflict, similar to two fs with the same label).
LVM internally uses UUID for everything but if there are references to VG names (fstab for example) it cannot automatically resolve conflict.
Version-Release number of selected component (if applicable):
F18 Beta TC6 (+updates-lvm image for bug #870207))
Just install, VG will be always named "fedora".
If there no hostname, as in previous question then some randomization of VG (suffix, name according to dhcp...) perhaps can help.
Ditto for LVM over LUKS - default "encrypt system" option.
I did not find option to change VG name even in manual partitioning...
Radek, how do I obtain the system's hostname from ksdata in f18?
It is already used in newVG and newBRTFS.
Hostname was broken in TC6 depending on configuration and what you do in UI - basically it returns None if you bring network in pre-hub standalone spoke. This should be fixed in 19.22. I think this BZ is just a consequence, i.e. a dupe of bug 866516.
I did a kickstart install today and it used the hostname in the vg name.