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

ReaR does not recover the logical volumes schema strictly when volume group across multiple devices.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-7.9.z
    • rear
    • None
    • No
    • Important
    • rhel-sst-cs-system-management
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      During the recover stage, the newly created logical volumes did not match the schema of original system.

      Please provide the package NVR for which bug is seen:

      rear-2.4-17.el7.x86_64

      How reproducible:

      Always.

      Steps to reproduce

      1. Install a RHEL7.9 and update the rear to the latest version.
      2. The devices and logical volumes are configured as follows:
        # lsblk 
        NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
        sda             8:0    0   20G  0 disk 
        ├─sda1          8:1    0    1G  0 part /boot
        └─sda2          8:2    0   19G  0 part 
          ├─rhel-root 253:0    0   10G  0 lvm  /
          ├─rhel-swap 253:1    0    2G  0 lvm  [SWAP]
          ├─rhel-home 253:2    0  4.4G  0 lvm  /home
          └─rhel-opt  253:3    0  4.6G  0 lvm  /opt
        sdb             8:16   0    1G  0 disk 
        └─rhel-opt    253:3    0  4.6G  0 lvm  /opt
        sdc             8:32   0    1G  0 disk 
        └─rhel-opt    253:3    0  4.6G  0 lvm  /opt
        sr0            11:0    1 1024M  0 rom  
        
        # lvs --unit M
          LV   VG   Attr       LSize     Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
          home rhel -wi-ao----  4718.59M                                                    
          opt  rhel -wi-ao----  4928.31M                                                    
          root rhel -wi-ao---- 10737.42M                                                    
          swap rhel -wi-ao----  2147.48M                                                    
        
        # vgs --unit M
          VG   #PV #LV #SN Attr   VSize     VFree
          rhel   3   4   0 wz--n- 22536.00M 4.19M
        
      3. Use ReaR for making a backup for the whole filesystem.
      4. Create a new machine with the identical hardware configs and use the rescue ISO to recover the system.

      Expected results

      The logical volume schema should be the same.

      Actual results

      The logical volume schema does not match the original one.

              rhn-support-pcahyna Pavel Cahyna
              rhn-support-qguo Qi Guo
              Qi Guo
              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:
              7 Start watching this issue

                Created:
                Updated: