Even though I don't have an answer for you, my suggestion is that if you don't plan to take advantage of snap shots and/or growing your root partition on the fly, I would do away with LVMs entirely.
I found either a bug or was able to break it so that my root volume couldn't mount (created a snapshot volume of my root and pretended that it broke by physically turning it off, I simulated a disaster scenario).
Plus mounting the virtual image for troubleshooting is tricky if its an LVM.
Additionally, LVM based virtual machines and dom0s are slower to boot and run in my tests.
On Feb 11, 2009, at 10:55 AM, Abdul Qadeer wrote:
On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@xxxxxxx>
Your initrd is probably missing some drivers.
Abdul Qadeer wrote:
I am compiling Xen from source on FC9. On booting the
Xen dom0 kernel it gives the following error:
Volume group "VolGroup00" not found
and ultimately the error that switchroot: mount failed: No such file or directory
So my question is that why it fails to detect logical volumes?
Something along this should fix your problem:
# depmod 126.96.36.199-xen
# mkinitrd -v -f --with=dm-mod --with=dm-mirror --with=dm-snapshot --with=dm-zero /boot/initrd-188.8.131.52-xen.img 184.108.40.206-xen
you may also need to load specify some sata drivers for your system.
If that doesn't work, then do an 'lsmod' on your system(non-xen kernel) and add any driver listed there that seems related to storage(scsi, sata, ata, etc..) to the initrd as well.
I did that. But a few of the drivers (e.g. ata_general) are absent in Xen based kernel so mkinitrd fails to include it (this driver is otherwise present in my FC9 system). So now the question is how do I include this ata_general in xen kernel?
Xen-users mailing list