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? Thanks, Abdul Qadeer _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@uvic.ca> 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@lists.xensource.com http://lists.xensource.com/xen-users
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@uvic.ca> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
One last thing, I''m pretty conservative and my network designs always work so I suggest keeping with the version of Xen shipping with your distro. I run Centos 5.2 which ships with Xen 3.2 or something like that which runs smoothly w/o fail. I would only go outside the box if requiring a feature not found in your shipped sw or running into a documented bug which is addressed in a later version. Of course, required features depend on your system design which depend on your business requirements but thats just my suggestion to you. - Brian On Feb 11, 2009, at 10:55 AM, Abdul Qadeer wrote:> On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@uvic.ca> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-Feb-11 19:37 UTC
Re: [Xen-users] Volume group "VolGroup00" not found
--- On Wed, 2/11/09, Brian Krusic <brian@krusic.com> wrote: From: Brian Krusic <brian@krusic.com> Subject: Re: [Xen-users] Volume group "VolGroup00" not found To: "Abdul Qadeer" <qadeer.qadeer@gmail.com> Cc: "Matt Vliet" <mvliet@uvic.ca>, xen-users@lists.xensource.com Date: Wednesday, February 11, 2009, 2:15 PM One last thing, I''m pretty conservative and my network designs always work so I suggest keeping with the version of Xen shipping with your distro. I run Centos 5.2 which ships with Xen 3.2 or something like that *************************************************************** CentOS 5.2 ships with Xen 3.1.2 Hypervisor, kernel is still 3.0.3 Looks like you want http://gitco.de to go out of business , but they are pretty much in ;) *************************************************************** which runs smoothly w/o fail. I would only go outside the box if requiring a feature not found in your shipped sw or running into a documented bug which is addressed in a later version. Of course, required features depend on your system design which depend on your business requirements but thats just my suggestion to you. - Brian On Feb 11, 2009, at 10:55 AM, Abdul Qadeer wrote: On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@uvic.ca> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Boris, I definitely don''t want to start a flame on this topic and I ran the gitco rpms w/o fail. I am just personally conservative is all. Its great of gitco to make available the latest Xen stuff for Centos/ RHEL and I do use them in certain situations. - Brian On Feb 11, 2009, at 11:37 AM, Boris Derzhavets wrote:> > > --- On Wed, 2/11/09, Brian Krusic <brian@krusic.com> wrote: > From: Brian Krusic <brian@krusic.com> > Subject: Re: [Xen-users] Volume group "VolGroup00" not found > To: "Abdul Qadeer" <qadeer.qadeer@gmail.com> > Cc: "Matt Vliet" <mvliet@uvic.ca>, xen-users@lists.xensource.com > Date: Wednesday, February 11, 2009, 2:15 PM > > One last thing, I''m pretty conservative and my network designs > always work so I suggest keeping with the version of Xen shipping > with your distro. > > I run Centos 5.2 which ships with Xen 3.2 or something like that > > *************************************************************** > CentOS 5.2 ships with Xen 3.1.2 Hypervisor, kernel is still 3.0.3 > Looks like you want http://gitco.de to go out of business , > but they are pretty much in ;) > *************************************************************** > > which runs smoothly w/o fail. > > I would only go outside the box if requiring a feature not found in > your shipped sw or running into a documented bug which is addressed > in a later version. > > Of course, required features depend on your system design which > depend on your business requirements but thats just my suggestion to > you. > > - Brian > > > > > On Feb 11, 2009, at 10:55 AM, Abdul Qadeer wrote: > >> On Wed, Feb 11, 2009 at 11:43 PM, Matt Vliet <mvliet@uvic.ca> 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@lists.xensource.com >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Feb 12, 2009 at 12:15 AM, Brian Krusic <brian@krusic.com> wrote:> One last thing, I''m pretty conservative and my network designs always work > so I suggest keeping with the version of Xen shipping with your distro. >I agree with you that under many circumstances that is a very sane option to choose. And I did choose that for some official work. But in my free time, I want to build Xen from source. Hopefully I could do that soon. :-) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Feb 12, 2009 at 12:15 AM, Brian Krusic <brian@krusic.com<mailto:brian@krusic.com>> wrote: One last thing, I''m pretty conservative and my network designs always work so I suggest keeping with the version of Xen shipping with your distro. I agree with you that under many circumstances that is a very sane option to choose. And I did choose that for some official work. But in my free time, I want to build Xen from source. Hopefully I could do that soon. :-) *** I just completed a compile of the Xen source for Xen 3.3.1 and posted info on the Xen.org Blog about the process - http://blog.xen.org/index.php/2009/02/12/compling-and-installing-xen-331/. I think this should help you. Stephen Spector _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users