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] Re: Backup

To: "Robert Dunkley" <Robert@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Backup
From: "Paras pradhan" <pradhanparas@xxxxxxxxx>
Date: Thu, 20 Nov 2008 09:22:56 -0600
Cc: Ferenc Wagner <wferi@xxxxxxx>, Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 20 Nov 2008 07:23:38 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=Zr8SnvHf8ibvHxbDG2tnFkRpBeLIy8KkoV7ZDBYSZ1Q=; b=pGcurs0TVvEAhRhENPwzMnk5UqsQoMfk7+xluzA8kdSCPmxtU+XwAgD37GCxNgf3jI E/hf5Qhnh1mu42y0/oLSHrEeAq498PvEiaH3oFnjpDaGK2LmBclSSROm/Gjj6l4Bnid4 EXbUl6x3Ki7HtRn0ESHaRejK0HwZtDPigR15o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=pw+fimH04LxIpI0oThxiKdEMCUAI9t/5cjlebm9yzuwv4NTUzCpMc6gb7A1EqmxmSr NhO4FGlysF/y2/GRgbcETA/M9kJkdJhCq4W0NAA6d0eRaGFA3O5HLIQ8EhH0exxa6ecg 8ShC27g2aA5HBIFn7oj5O8B3tnG9nW5oRGmsw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C1EAC9C5E752D24C968FF091D446D8232DE71E@ALTERNATEREALIT>
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: <8b711df40811181536w66009127ke7c0ab197fdc3812@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154FC24@trantor> <8b711df40811191040s127fe222pbbfb5513a0e1b6f1@xxxxxxxxxxxxxx> <87fxlmo6q0.fsf@xxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D8232DE71E@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Thu, Nov 20, 2008 at 7:45 AM, Robert Dunkley <Robert@xxxxxxxxx> wrote:
Hi Paras,

I'm not sure if your question was performance related but if your
storage system is local then you should see about 50Mbytes/second on a
single 7200RPM SATA disk or about 100Mbytes/sec for a single 15000Rpm
SAS drive; assuming they have very little disk activity from other VMs.
Raid 0 and Raid 5 arrays should be an order of magnitude faster.  So
speed wise that 9Mbytes/second looks too low.

Rob

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ferenc
Wagner
Sent: 20 November 2008 13:41
To: Paras pradhan
Cc: Xen Users
Subject: [Xen-users] Re: Backup

"Paras pradhan" <pradhanparas@xxxxxxxxx> writes:

> Here's what I did:
>
> To backup:
>
> 1) Saved the virtual machines' state using:
>
> xm save guest01 /guest01.save
>
> 2) lvcreate -s -L 2G -n guest01-snap /dev/vg/guest01-disk
>
> 3) Restored the VM
>
> xm restore /guest01.save
>
> 4) Used DD to create the image
>
> dd if=/dev/vg/guest01-snap of=/guest01.img
>
> 5) lvremove /dev/vg/guest01-snap
>
> To restore:
>
> 1) I turned off the VM (i don't like this)
>
> xm shutdown guest01
>
> 2) Then run:
>
> dd if=/guest01.img of=/dev/vg/guest01-disk
>
> 3) Turn back the VM on
>
> --
>
> My virtual machine is consuming 11GB of space. Now when i do DD while
> restoring it took a lot of time.
>
>
> ---
> 10737418240 bytes (11 GB) copied, 1189.42 seconds, 9.0 MB/s
>
> ---
>
>
> Is this normal?

Impossible to tell without knowing a lots of details about your
storage system.

> I don't know if the process that I have used is fine or not. Need
> views on this.

Looks OK, but be prepared that your filesystems will be unclean after
restore.  If instead of turning the VM on you did an xm restore again,
then your filesystems would be OK, but some operations could be carried
out again in the restored domain.
--
Cheers,
Feri.

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

The SAQ Group

Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
SEMTEC Limited Trading as SAQ is Registered in England & Wales
Company Number: 06481952



http://www.saqnet.co.uk AS29219

SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business.

DSL : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support.

Find us in http://www.thebestof.co.uk/petersfield



As recommended  by agent, I have tested/restored with bs=4096 and now i am getting around 35mb/s in my 7200 RPM SATA drive. It works for me but still it should be more than that I guess.


Thanks
Paras.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>