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] Windows guest, swap space, separate disk?

        Assuming the file and or image are the same size, I would expect DD to 
be faster (especially if tuned with the bs= parameted).  However, theories 
don't always work out in real life, and this wouldn't necessarily be true 
depending on the type of copy (for instance mounting and using ntfsclone 
wouldn't necessarily be copying the full 10 or 20 GiB), so testing the 
difference might not be a bad idea.  Also, you should search the net for a 
blocksync script, someone wrote one in python once, its end effect was similar 
to dd, but it somehow only copied changed blocks, so that might make copying 
between images faster than copying between files (even with ntfsclone or 
something).
        Dustin

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Brandon Lamb
Sent: Thursday, March 18, 2010 01:36
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Windows guest, swap space, separate disk?

On Wed, Mar 17, 2010 at 10:23 PM, Nathan Eisenberg
<nathan@xxxxxxxxxxxxxxxx> wrote:
> First and foremost - I believe LVM's are faster than disk images, so if 
> you're looking for performance, I would start there.
>
> Best Regards,
> Nathan Eisenberg
>

Im actually running the disk images on top of lvm partitions, but this
particular use case requires file based disks for our customer,
basically a reseller of our service. He wants to offer HIS customers
the ability that if they blow up their windows xp box, he can just
relaunch the vm pointing to the backup disk image.

To do this, it seemed much easier to be able to do a cp live-disk.img
backup-disk.img versus doing a dd or ? to create a backup.

Hm actually does anyone have any input on that? is "cp file1 file2"
faster than a "dd if=/dev/volumes/file1 of=/dev/volumes/file2"?

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



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