What were you trying to do that didn't work?
With ONLY_INCLUDE_VG= and/or AUTOEXCLUDE_DISKS=y
a disk with an unused PV is automatically included in the layout.
h3. Please provide the package NVR for which bug is seen:
rear-2.4-16.el7_9.x86_64
How reproducible:
always
Steps to reproduce
- create a simple PV: pvcreate /dev/vdc
- run rear mkrescue
- the disk vdc is included, but can't be recreated during recover:
- lvmdev /dev/ /dev/vdc 82jhUQ-c9zf-u0TV-bhr3-WMGp-NTR8-rehPao 41943040
Expected results
disk excluded
Actual results
disk with unused PV is included in layout, but can't be restored.
This has been fixed in RHEL8:
Skipping PV /dev/vdc that is not part of a valid VG (VG '' empty or more than one word):