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

RE: [Xen-users] Merging two xen nodes together


  • To: "'Jeff Sturm'" <jeff.sturm@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

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