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] Merging two xen nodes together

To: "'Jeff Sturm'" <jeff.sturm@xxxxxxxxxx>
Subject: RE: [Xen-users] Merging two xen nodes together
From: Tom Potwin <wxman2@xxxxxxxxx>
Date: Fri, 12 Jun 2009 19:10:15 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Jun 2009 16:11:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:reply-to:from:to:cc :references:in-reply-to:subject:date:organization:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :x-mimeole:thread-index; bh=MkSWOOD5TR4jlOP8eTSorowvtk3kBG5N7eR8T7HRjH4=; b=MvjhtoJKbOzJCjT0F/g/gPv93kg85GwZwfL6d4NYvvWllH18GdSfakf8GedBactZk5 BWAcQ2/7kBAY00u2B3U5OkLqQNwwGL6aaM3ghT/7uGJund6yWcgHQ1eIEArQLNxKN+Xq l/WDsZ0oAkmvRRipDwRCNNhoJMHrepeoj2bPs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:cc:references:in-reply-to:subject:date :organization:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=K0LlKAbjPE9ygF1QazcYSsHmeauIKVnQUYxWaUCsyHiM0UiMks/92i0e2xmgbw+H7u I/41kdd3MCZRpvvftc2L9IAXuWtWFtEEG6jJVJbMXDHZzsDJs8uH8I33QK1f68LGCruA l+meOpDCrEo35cZYwxdLAao5gkVoH7udFF5M0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <64D0546C5EBBD147B75DE133D798665F02FDBF66@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: The Literary Times
References: <4486BDE024284BFFA99E3FF9F4454277@tomPC><4A32C9A6.9070807@xxxxxxxxxxxxxx> <FAC9ED34345049AAA9E6A2F4D254B450@tomPC> <64D0546C5EBBD147B75DE133D798665F02FDBF66@xxxxxxxxxxxxxxxxx>
Reply-to: littimes@xxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnrp4rya+UB7dDQQaGx/hSBKcBrfgAAcOAQAABB6ZAAAgCGoA==
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

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