Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-24134

rear includes unused PV even if ONLY_INCLUDE_VG is used

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-7.9
    • rear
    • None
    • Moderate
    • rhel-sst-cs-system-management
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      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

      1. create a simple PV: pvcreate /dev/vdc
      2. run rear mkrescue
      3. the disk vdc is included, but can't be recreated during recover:
      4. 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):

       

              rhn-support-pcahyna Pavel Cahyna
              rhn-support-bwelterl Benoit Welterlen
              Pavel Cahyna Pavel Cahyna
              RHEL SST CS base utils QE Bot RHEL SST CS base utils QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: