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=LVM PhysicalVolumeID PART=2To IDTYPE=devname and IDNAME=/dev/
# LVM uses devices listed in this file. # Created by LVM command lvmdevices pid 3503 at Tue Jan 13 23:11:07 2024 VERSION=1.1.4 IDTYPE=devname IDNAME=/dev/sda2 DEVNAME=/dev/sda2 PVID=LVM PhysicalVolumeID PART=2Then create a new clone of the VM and boot it and it should boot up without any issues. Thanks for reading :) regards, zaheer
Comments