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] regarding xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] regarding xen
From: "Joost Roeleveld" <joost@xxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2008 10:07:11 -0000 (GMT)
Delivery-date: Fri, 11 Jan 2008 02:07:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <abd055f10801100544s30dd00b6y3bb2dbf5dbd25bea@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <abd055f10801100544s30dd00b6y3bb2dbf5dbd25bea@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.10a
> hi
>
> i am new to xen,  i have created xen set up using sles10 sp1.
> i am trying to get any api for taking snapshot of the virtual
> machine (virual disk ) in the host machine.
> Is there any snapshot supported API, which i can use for
> taking snapshot of the virtual disk?
>
> please help me in this regards. i have tried a lot for getting such api,
> but i could not.
>
> Thanks and regards
> namitha

Hi Namitha,

There is no "snapshot" functionality in Xen like you have in other
products like VMWare.
You can, however, 'emulate' this behaviour with the following steps:

1) xm save <domain> <memory_snapshot_file>
2) Copy <memory_snapshot_file> to the snapshot-location
3) create a snapshot of the filesystems using LVM
4) xm restore <memory_snapshot_file>
5) dd if=<lvmsnapshot1> of=<filesystem_snapshot_file1>
6) Repeat (5) for all the filesystems
7) remove the LVM snapshots

To restore back to a previous snapshot, stop the domain, restore the
filesystems and restore the domain using "xm restore ...."

For everyone else, please correct me if there is a simpler method.

Kind regards,

Joost Roeleveld


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

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