Skip to main content

Posts

Showing posts from February, 2024

Oracle Linux 9 Virtaul machine not bootable in KVM after Clone

In one of our customer Environments we cloned virtual machine using the disk and post clone completion virtual machine not booted up. The following Error occurred while booting up the VM. [ TIME ] Timed out waiting for device /dev/mapper/vg_rootdisk-volume. [DEPEND] Dependency failed for /filesystem [DEPEND] Dependency failed for D-Bus System Message Bus. Problem: File /etc/lvm/devices/system.devices configured with the disk_id of the OLVM disk image. If the VM is cloned the new VM will be on a new image with a different disk_id and that will prevent LVM from finding the logical volumes and hence its not able to boot the VM. Solution: Eidt /etc/lvm/devices/system.devices configuration file before creating the clone or copy. Change from IDTYPE=sys_serial and IDNAME= : # LVM uses devices listed in this file. # Created by LVM command lvmdevices pid 3503 at Jan 13 23:11:07 2024 VERSION=1.1.4 IDTYPE=sys_serial IDNAME=ad1a270f-10e9-41dc-a313-988d07e6b447 DEVNAME=/dev/sda2 PVID=...