|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] Cloning domUs 
| Its a question i've wondered myself. I happened to bump into this link 
earlier today. 
http://www.linuxtopia.org/online_books/linux_virtualization/xen_3.0_user_guide/linux_virualization_xen_user_44.html
If i'm reading it correctly it might not be good idea to use too many 
snaphots like that which is kind of what i expected. Thought i'd share 
the link. 
Geoff.
Artur Linhart - Linux communication wrote:
 
If LVM are used, what are Your opinions about the way simply to create the
snapshot volume to existing DomU and modify the configuration files on the
new volume only?
I tried it and it works OK, as far as I tested it till now... The advantage
is, You can save a lot of disk space because the data are shared by both
logical volumes till not modified... Also the snapshot creation takes1
second, so it is much more faster than copy the whole partition... Sure, for
swap I created brand new volumes, there is no reason to share the data.
Has this way some performance problems?
        With best regards,
                Archie
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nico
Kadel-Garcia
Sent: Tuesday, August 07, 2007 1:08 AM
To: Steve Wray
Cc: Stephen Shaw; Geoff Kirk; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Cloning domUs
Steve Wray wrote:
Not relevant here: the Dom0's /etc/passwd and associated uid's is the 
one in charge of both the source and target uid's. Very useful for other 
circumstances, though!
Stephen Shaw wrote:
 rsync is great.  Are you creating sparse files?  If so, can rsync 
handle thatNico Kadel-Garcia <nkadel@xxxxxxxxx> 08/06/07 1:41 PM >>>           
              
 
Geoff Kirk wrote:
 I use 'rsync -avH' instead of 'cp -a', since it handles being re-run 
better and handles exclusions better, too.
shacky wrote:
 Using LVM i create a new volume  mount the domU i want to copy and 
the new volume, format the new volume and cp -dpR the files over, 
then edit the network/hostname config. Don't forget swap space too.
What storage method are you using for the domU?
 
I'm using LVM for most domUs...
 
It maybe you can just snapshot the domU and edit the network but i 
don't know if thats wise. 
Geoff.
 
I've used cp --sparse=always when I copy domUs
 
And don't forget the --numeric-ids on rsync.
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
__________ Informace od NOD32 2440 (20070806) __________
Tato zprava byla proverena antivirovym systemem NOD32.
http://www.nod32.cz
_______________________________________________
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
 | 
 |  | 
  
    |  |  |