Hi Abdul,
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.
- Brian On Feb 11, 2009, at 10:55 AM, Abdul Qadeer wrote: On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@xxxxxxx> wrote: Abdul Qadeer wrote: Hi, 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? Your initrd is probably missing some drivers. Something along this should fix your problem: # depmod 2.6.18.8-xen # mkinitrd -v -f --with=dm-mod --with=dm-mirror --with=dm-snapshot --with=dm-zero /boot/initrd-2.6.18.8-xen.img 2.6.18.8-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? Thanks, Abdul Qadeer
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|