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

rear Layout 'thin,sparse' of LV 'lv_audit' in VG '/dev/vg' not supported by vgcfgrestore

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • rhel-9.2.0.z
    • rear
    • None
    • Major
    • sst_cs_system_management
    • ssg_core_services
    • 5
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux
    • x86_64

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

      when use rear to recover OS with thin pool, it shows error as 

      ~~~

      Layout 'thin,sparse' of LV 'lv_audit' in VG '/dev/vg' not supported by vgcfgrestore

      ~~~

      partition info 

      ~~~

      UserInput: Valid choice number result 'View original disk space usage (/var/lib/rear/layout/config/df.txt)'
      Filesystem              1048576-blocks  Used Available Capacity Mounted on
      /dev/mapper/vg-lv_root           3138M 1773M     1366M      57% /
      /dev/mapper/vg-lv_srv              41M    3M       38M       7% /srv
      /dev/mapper/vg-lv_var            6065M  275M     5791M       5% /var
      /dev/mapper/vg-lv_home            233M   15M      219M       7% /home
      /dev/mapper/vg-lv_tmp             233M   15M      219M       7% /tmp
      /dev/mapper/vg-lv_log             233M   26M      207M      12% /var/log
      /dev/mapper/vg-lv_audit           185M   12M      174M       7% /var/log/audit
      /dev/vdb3                         459M  163M      267M      38% /boot
      /dev/vdb1                          16M    7M       10M      44% /boot/efi

      ~~~

       

      BTW, i can see error as in rear logs 

      ~~~

      pool -L 26759659520b --thinpool lv_thinpool vg
      ata.
      ...skipping...
        Insufficient free space: 6387 extents needed, but only 6382 available
      2024-04-02 11:10:43.913746086 UserInput: called in /usr/share/rear/layout/recreate/default/200_run_layout_code.sh line 127
      2024-04-02 11:10:43.919783792 UserInput: Default input in choices - using choice number 1 as default input
      2024-04-02 11:10:43.921369317 UserInput -I LAYOUT_CODE_RUN needed in /usr/share/rear/layout/recreate/default/200_run_layout_code.sh line 127
      2024-04-02 11:10:43.924603179 The disk layout recreation script failed
      2024-04-02 11:10:43.927072406 1) Rerun disk recreation script (/var/lib/rear/layout/diskrestore.sh)
      2024-04-02 11:10:43.930037693 2) View 'rear recover' log file (/var/log/rear/rear-static-50-50-50-10.log)
      2024-04-02 11:10:58.652132730 UserInput: Valid choice number result 'View 'rear :

      ~~~

      Please provide the package NVR for which bug is seen:

      How reproducible:

       

      1 partition with thin pool

      2 use rear to backup 

      3 then use rear to restore 

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      No error 

      Actual results

      Has error 

        1. disklayout.conf
          7 kB
        2. local.conf
          2 kB
        3. rear-static-50-50-50-10.log
          52 kB
        4. rescue.conf
          0.7 kB

            rhn-support-pcahyna Pavel Cahyna
            rhn-support-xili Xinhua Li
            Pavel Cahyna Pavel Cahyna
            rhel-cs-system-management-subsystem-qe Bot rhel-cs-system-management-subsystem-qe Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: