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

Re: [Xen-users] can I clone a runiung domU?


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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