Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-20911

The current documentation for Cloning or restoring RHEL 9 virtual machines that use LVM on Nutanix AHV causes non-root partitions to disappear instructs users to uncomment use_devicesfile = 0 in /etc/lvm/lvm.conf before cloning or snapshotting.

XMLWordPrintable

    • None
    • rhel-sst-ccs
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • CCS 2025-18, CCS 2025-19, CCS 2025-20
    • None
    • Unspecified
    • Unspecified
    • Unspecified

      Document link

      https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.5_release_notes/known-issues#known-issues-rhel-in-cloud-environments 

      Section number and name:

      11.18. RHEL in cloud environments

      Cloning or restoring RHEL 9 virtual machines that use LVM on Nutanix AHV causes non-root partitions to disappear

      Describe the issue:

      The current documentation for Cloning or restoring RHEL 9 virtual machines that use LVM on Nutanix AHV causes non-root partitions to disappear instructs users to uncomment use_devicesfile = 0 in /etc/lvm/lvm.conf before cloning or snapshotting.

      However, the documented steps omit the required initramfs regeneration. Without regenerating initramfs after modifying lvm.conf, the change does not take effect at boot, and restored/cloned VMs may still fail to boot and enter emergency mode.

      Suggestions for improvement:

      Documentation should include an explicit step to regenerate initramfs after editing lvm.conf.

      Proposed fix:
      Update the preventive steps section to read:

      1. Uncomment and change value use_devicesfile = 0 in /etc/lvm/lvm.conf.

      2. Regenerate initramfs: https://access.redhat.com/solutions/1958 

       

           Take backup
            # cp /boot/initramfs-<kernelVersion>.img /boot/initramfs-<kernelVersion>.img.bak
           Build Initramfs
             # dracut -f /boot/initramfs-<kernelVersion>.img  <kernelVersion>
      IMPORTANT NOTE: Replace <kernelVersion> with the full version of the kernel you wish to rebuild.
      

       

      3. Reboot the VM to verify successful boot.

      4. Proceed with cloning or snapshot creation.

              rhn-support-gfialova Gabriela Fialova (Inactive)
              rhn-support-prjagtap Pradeep Jagtap
              Jiří Herrmann, Mayur Patil
              Jiří Herrmann Jiří Herrmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: