[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Newbie Xen + LVM issues for Debian DomU on Centos 5.2 DomO


  • To: eduardo.grosclaude@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, M C <m_c_001@xxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Mon, 5 Jan 2009 07:38:27 -0800 (PST)
  • Cc:
  • Delivery-date: Mon, 05 Jan 2009 07:39:12 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=GW1kIMMbKB4r0aUJVPA5dkTazps2UFkJ2OVm6sRcuw0rQHTQ6IlMUEefrEjFGijIsPnULli+Dkwnfv31KVjB7qSVVtll+BZP+n6WNERbmV79LVt/D9XtKZr+AU+VqSh0fTt+ysARwTSpLce7yXg76bFBfv47bxGcOphJreILYYM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Not sure it's on topic :-
http://lxer.com/module/newswire/view/114282/index.html

--- On Mon, 1/5/09, M C <m_c_001@xxxxxxxxxxx> wrote:
From: M C <m_c_001@xxxxxxxxxxx>
Subject: RE: [Xen-users] Newbie Xen + LVM issues for Debian DomU on Centos 5.2 DomO
To: eduardo.grosclaude@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, January 5, 2009, 9:39 AM

Hi Eduardo,

Thanks for your reply (and happy new year!). Using xen-tools certainly appears simpler, though I still can't quite get there. If in the xen-tools.conf file I specify using logical volumes, then I get the error:

"The LVM partition image creation failed to create <whatever>
aborting"

where for <whatever> I've tried using LogVol00, VolGroup00-LogVol00 and mapper/VolGroup00-LogVol00, all with no success. Here's the output from "df -h" and "lvdisplay -C":

root% df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      143G   24G  112G  18% /
/dev/sdb1              99M   36M   59M  38% /boot
tmpfs                 1.2G     0  1.2G   0% /dev/shm

root% lvdisplay -C
  LV       VG         Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  LogVol00 VolGroup00 -wi-ao 146.97G                                     
  LogVol01 VolGroup00 -wi-ao   1.94G

Once again, any clues and/or hints as to where I'm going wrong would be much appreciated.

Regards,
mc

> Date: Tue, 30 Dec 2008 11:03:09 -0300
> From: eduardo.grosclaude@xxxxxxxxx
> To: m_c_001@xxxxxxxxxxx
> Subject: Re: [Xen-users] Newbie Xen + LVM issues for Debian DomU on Centos 5.2 DomO
>
> On Tue, Dec 30, 2008 at 5:35 AM, M C <m_c_001@xxxxxxxxxxx> wrote:
> >
> > Hi Thomas,
> >
> > Thanks for replying. So, I added the following line to my config file:
> >
> > ramdisk = "/boot/initrd-2.6.18-92.1.22.el5xen.img"
> >
> > and things do indeed go further, but still ultimately fail. The final error
> > report now has:
> >
> > <lots of stuff deleted>
> (snip)
> > Scanning logical volumes
> > Reading all physical volumes. This may take a while...
> > No volume groups found
> > Activating logical volumes
> > Volume group "VolGroup00" not found
> (snip)
> > Any hints of how I can extricate myself from this mess would be much
> > appreciated!
>
> Your regular RedHat/CentOS initrd looks for a root file system on LVM
> devices (if so chosen at install time, which is the default), whilst
> your Debian image has no logical volumes defined.
>
> You can a) install your VM over LVM, b) edit your initrd by deleting
> every reference to LVMs --but this is a rather messy procedure, or c)
> create a custom initrd with something like (syntax, or even
> correctness not guaranteed):
>
> DIR=/some/directory; mount -t ext3 -o loop debian.4-0.64.img $DIR
> mkinitrd -v --preload xenblk --preload xennet --omit-lvm-modules
> --omit-raid-modules \
> --fstab=$DIR/etc/fstab -f /boot/custom-initrd-xen.img 2.6.18-92.1.22.el5xen
>
> All in all, I'd follow Thomas's suggestion to use xen-tools to setup your VMs.
> HTH
>
> --
> Eduardo Grosclaude
> Universidad Nacional del Comahue
> Neuquen, Argentina


Great search results, great prizes. BigSnapSearch.com Search now
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.