-
Bug
-
Resolution: Done
-
Normal
-
None
-
9.x
-
None
-
rhel-sst-ccs
-
2
-
False
-
False
-
-
None
-
CCS 2025-18, CCS 2025-19, CCS 2025-20
-
None
-
Unspecified
-
Unspecified
-
Unspecified
Document link:
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.