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

ReaR fails to install Grub on systems with multipath disks

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • rear
    • None
    • No
    • Moderate
    • Upstream
    • rhel-sst-cs-base-utils
    • None
    • False
    • Hide

      None

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

      What were you trying to do that didn't work?

      When recovering the system and the system has its disks on multipath, the grub2-install step fails because the code is not able to read the disk label of the disk to find the Grub device to install on.
      See PR 3334

      What is the impact of this issue to you?

      Can't recover properly

      Please provide the package NVR for which the bug is seen:

      rear-2.6-24.el9 but also Upstream

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Install a QEMU/KVM with disks in multipath (requires SCSI storage+RAW mode+ setup same SCSI ID on both disks)
      2. Create backup
        ONLY_INCLUDE_VG=( "rhel" )
        AUTOEXCLUDE_MULTIPATH=n
        FIRMWARE_FILES=( 'no' )
        PROGS+=( vim )
        BACKUP=NETFS
        BACKUP_URL=nfs://192.168.122.1/home/rmetrich/REAR
        BACKUP_PROG_EXCLUDE=( '/var/tmp/*' '/var/cache/*/*' )
      3. Recover the same system

      Expected results

      No issue restoring

      Actual results

      Failure when trying to detect the device to run grub2-install on

        1. with_the_fix.log
          551 kB
          Renaud Métrich
        2. without_the_fix.log
          555 kB
          Renaud Métrich

              rhn-support-pcahyna Pavel Cahyna
              rhn-support-rmetrich Renaud Métrich
              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:
              4 Start watching this issue

                Created:
                Updated: