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] Dump an image based domU to a logical volume

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Dump an image based domU to a logical volume
From: "Nuno L. Ferreira" <nunolf@xxxxxxxxx>
Date: Sun, 28 Mar 2010 12:16:50 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 28 Mar 2010 03:17:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=EyzaJSCCxiS+jwi8RBa1BTSrghpDa+j0w/ptRNufypw=; b=wsyQhMSSNPhChTEq1CUYS0PEOUF2UL4CBHNOZY+5GvG1xAeYin7B9Pia8pDC7mLVJy wuoOggU2FIvuNYqjaSeT2eacBziQtk9hpZ/8Zyu14iY1ArfD+oyd6E7gLMCjsJaHy6aG nMJ57sCnYTCMyWBjQTlTXi8kueSi9khtKtu4w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bq5dItk2vGjvO/U3y/dV3vb1dhxLnwTifovRUKmUAHAIW51IUofIl+DrThKx30beBG M5YOTRggmqQ54oJdex+9ARAz17hrhw7PO3SFfqI0+9qV6bhdxGzh9a6fzpLRrcb5p2Vu Qxd5qJI1RZMFiUKsuLyIF4ndRBu1SkvjRuNPQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240801c7d4443e827b@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <4BAE7E03.9060501@xxxxxxxxx> <p06240801c7d4443e827b@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100205 SeaMonkey/2.0.3
Dear Simon,

Thanks.
I just found out that ... kpartx tool is also able to work with logical volumes (I thought that it was meant only for file based stuff like images). Thus, even if the LV based domU has several partitions (in the same LV) they can be accessed individually and file edition is possible for fine configuration of the domU if needed.

Cheers,
N.


Simon Hobson wrote:
Nuno L. Ferreira wrote:

Part II
+++++
I also tryed instead of creating a pristine image file, install the pristine domU directly into a LV based. But, how do I mount the LV to edit configuration files inside of it? Because now there is a partition table inside the domU, and I don't know how to handle with it. Any link on how to do it?

xm block-attach has been suggested to attach the LV to the Dom0 and then you can access the partitions the same as you'd do on a real disk.



--
==============================================
Nuno Ricardo Santos Loureiro da Silva Ferreira

NMR Spectroscopy Research Group
Bijvoet Center for Biomolecular Research
Utrecht University
Bloembergen gebouw
Padualaan 8, 3584 CH Utrecht
The Netherlands

P: +31.(0)30.253 9932
F: +31.(0)30.253 2652
E: n.l.ferreira@xxxxx
W: http://nmr.chem.uu.nl
==============================================


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