Why does a Xen VM fail to boot after converting it to KVM or RHEV using virt-v2v?
Issue
- After converting a Xen VM to KVM or RHEV using
virt-v2v
the VM can not find the Volume Group where RHEL is installed and fails to boot:
dracut Warning: LVM vgrhel6/lvroot not found
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
dracut Warning: Signal caught!
dracut Warning: LVM vgrhel6/lvroot not found
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-431.20.5.el6.x86_64 #1
Call Trace:
[<ffffffff8152812c>] ? panic+0xa7/0x16f
[<ffffffff81077332>] ? do_exit+0x862/0x870
[<ffffffff8118a6e5>] ? fput+0x25/0x30
[<ffffffff81077398>] ? do_group_exit+0x58/0xd0
[<ffffffff81077427>] ? sys_exit_group+0x17/0x20
[<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
Environment
- Red Hat Enterprise Linux 5 or 6.
- Xen virtual machine converted to KVM or RHEV.
- LVM filter with Xen virtual block devices only
/dev/xvd[a-z]
.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.