Jeff
Actually this is my setup of the domU I want to get rid of:
root = '/dev/hda1 ro'
disk = [
'phy:/dev/sda5,hda1,w',
'phy:/dev/sda6,hda2,w',
]
I know I have to run xm shutdown or destroy, but is there anything else I
need to delete before I merge the partitions with the one I want to keep?
Tom
-----Original Message-----
From: Jeff Sturm [mailto:jeff.sturm@xxxxxxxxxx]
Sent: Friday, June 12, 2009 6:14 PM
To: littimes@xxxxxxx; Chris 'Xenon' Hanson
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Merging two xen nodes together
How you go about this depends on how you've configured per-node storage.
If, say, you're using file: or tap:aio: with file-backed storage on dom0,
you can eliminate N2 together with its disk image and give the space back to
dom0, which can potentially be allocated to N1.
If the disk image file for N1 is a sparse file, then it can begin to use the
blocks freed by N2. If not, you may be able to shut down N1 and grow the
image. Or else just block-attach N2's disk image so N1 can directly use it.
-Jeff
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tom Potwin
Sent: Friday, June 12, 2009 6:04 PM
To: 'Chris 'Xenon' Hanson'
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Merging two xen nodes together
Hi
Sorry. Yes they are DomUs on a single computer. The one I want to get rid of
is much smaller that the other.
Thanks, Tom
-----Original Message-----
From: Chris 'Xenon' Hanson [mailto:xenon@xxxxxxxxxxxxxx]
Sent: Friday, June 12, 2009 5:33 PM
To: littimes@xxxxxxx
Subject: Re: [Xen-users] Merging two xen nodes together
Tom Potwin wrote:
> I've been trying to find out the best way to combine two xen nodes
> together. What I mean is, say I have two nodes, N1, and N2. On N1 is a
> web server, and on N2 is nothing now. I want to get rid of N2, and
> give it's disk space back to N1. Does anyone know the best route to
> take to do this?
"Nodes" is poor terminology. Are N1 and N2 DomUs on a single computer, or
are they different computers both running Xen, or what exactly are they?
> Thanks, Tom
--
Chris 'Xenon' Hanson, omo sanza lettere Xenon
AlphaPixel.com
PixelSense Landsat processing now available!
http://www.alphapixel.com/demos/ "There is no Truth. There is only
Perception. To Perceive is to Exist." - Xen
_______________________________________________
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
|