|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] problem on cloing guest (SOLVED)
On Mon, Sep 15, 2008 at 11:43 PM, Antoine Benkemoun <antoine.benkemoun@xxxxxx> wrote:
Hello, Fantastic that you found the answer ! I still think that it may possible to do this using cp... unless cp doesn't make a bit by bit copy but I would hope that it does.
Antoine 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
|
|
|
|
|