[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] problem on cloing guest (SOLVED)
On Mon, Sep 15, 2008 at 11:43 PM, Antoine Benkemoun <antoine.benkemoun@xxxxxx> wrote:
I think it depends on how you want it to handle sparse files. DD will make a copy of everything even if half the file is zeros. CP can copy sparse files but you need to tell it when to do that (sparse=). Also a note to the original poster, you may want to mess with bs= to find a better value. I generally use dd_rescue or ddrescue to clone images as it's about twice as fast as dd but if you mess with some of the parameters of dd (namely bs=) you can get dd to run almost as fast as the other two. If you're creating 100 images it's probably worth spending a couple minutes running some tests. Optimized dd is probably a better choice than dd_rescue as it's more predictable. Grant _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |