WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen and LVM

The problem though is its not even getting to load the OS, it refuses to even mount the partition saying its already mounted by another guest ( I am using full partitions not a loopback file system ).

All 4 domains where created at the same time using the same image and they randomly work or don't work its not a specific issue.

Sometimes the problem is related to allowing access to the seperate swap partitions not the OS partition as well, In that case when its playing that game I have tried redoing the swap partition 100% and it still says its already in use by another guest os


Richard Thomas - CEO
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Eric S. Johansson wrote:
Richard Thomas wrote:

I downloaded it from somewhere, centos image.. It runs with the older version of Xen without a problem so the image does work.


unfortunately, I have found that if it runs with an older version of xen, it will fool you by mostly running on 3.0. I would seriously recommend building a new guest image. It's not terribly difficult, only time tedious. the steps below work for me on ubuntu but there's nothing keeping it from being distribution independent.

"install" onto a file disk image using qemu
create a new partition-less disk image
mount the root partition on a loopback device using losetup
mount your partition-less disk image also using a loopback device.
cp -a from the root partition to the partition-less disk image
cp -a domU modules onto the partition-less disk image
fixup fstab, host names, ethernet interface definition (there are probably more but I can't remember right now)

unmount everything (very important as my recent experiences shown ;-))

Create your .xm file

xm create ...

I believe this will give you better results. Or if you prefer, I can also make available an ubuntu very raw disk image (i.e. fresh out of the qemu oven).

---eric


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

<Prev in Thread] Current Thread [Next in Thread>