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

Re: [Xen-users] Just some (probably useless) information


  • To: Brandon Lamb <brandonlamb@xxxxxxxxx>
  • From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
  • Date: Sun, 21 Mar 2010 04:03:17 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 21 Mar 2010 04:05:24 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=OirxZGxLOoBkN8xJ1scXnT0k5CJFwuevBAhgAFrAc1ZDECwlMszsDM3TP/fbCZLDvE bs0xmLP54Xd8/GXS7cEBsNNq19HMfWIdplMgllmkeXyy92R6Hv620P5ZojwgqI03YIlg jzUIg7dRMBomxt0YwPwp1t3jxXBfXc1qt+WNs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sat, Mar 20, 2010 at 12:37 AM, Brandon Lamb <brandonlamb@xxxxxxxxx> wrote:
I did a very non scientific test for speeds of backing up disk/file
images to disk/file backups

I used lvm for both the disk based and to put the files onto during
the test. I used four 640gig sata 3.0gbps drives in a raid 10. There
was 2083 megabytes used on the filesystem, a windows xp install.

dd disk -> disk = 36 minutes

ntfsclone disk -> disk = 4 minutes

ntfsclone disk -> file = 2 minutes

cp file -> file = 11 seconds

So now I am left with the question of do I use file based images which
will have slower performance but super fast backup times, or go with a
lvm -> disk/file for the backup.

My particular use case will be a user gets a 20 gig drive for xp,
their it guy will do manual image backup creation. If they blow up
their windows box we will have a "click click" ok now they are running
againback up using the backup disk/file image. If I use all disk based
images then I will have to also create a file backup of the backup
disk for my remote backup box to save in case the host dies.

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



How big was the actual LV because it definitely shouldn't take dd 40 minute to copy 2 GB! Without optimizations that size disk should take 1 minute. If you go with ddrescue or tune dd with large blocks etc.. and depending on the speed of your RAID 10 you should be able to get that down to 30 seconds or less. If your volume is a lot larger than 2GB then you need to play with the sparse options but I think that only works with output files. Still when dding from one 80 GB drive to another 80GB drive it takes me 40 minutes or roughly 2/3 the maximum speed of the drive.

The other option would be to dd the LV to a backup LV and then have it mounted on another DomU (a backup VM) and just rsync to it often. This would keep an up to date LV which you could detatch and use in a hurry on the other VM. Of course you'd still want to follow the normal backup process anyway so you have more than one level of backup.


Grant McWilliams

Some people, when confronted with a problem, think "I know, I'll use Windows."
Now they have two problems.





_______________________________________________
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®.