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] can I clone a runiung domU?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] can I clone a runiung domU?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Fri, 01 Aug 2008 16:42:42 +0700
Delivery-date: Fri, 01 Aug 2008 02:43:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4892D188.1090501@xxxxxxxxxxx>
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: <4892ABDD.4080803@xxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01490120@trantor> <4892B450.8080701@xxxxxxxxx> <4892B82A.1050802@xxxxxxxxxxx> <4892BD6A.2000905@xxxxxxxxx> <4892D188.1090501@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Rudi Ahlers wrote:
Fajar A. Nugraha wrote:
If you use
lvm-backed storage for domU :
- lvm snapshot on running domU's LVM, to get a consistent state.
- dd from the snapshot to a new LV
- destroy snapshot

How do I destroy the snapshot when the main LVM is being used by the domU VM?

Can I just run lvremove /dev/data/pluto_s ?


In short, yes. The snapshot is treated as a separate entity from the main LVM. As long as you're not using (e.g. mounting, dd-ing) the snapshot (/dev/data/plato_s), you can safely remove it.

Regards,

Fajar

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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