|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] XEN : Is there any way for sharing base virtual image.?
Hi Christian ,
Its good to know the concept given by you.I found one more thing to work the same like stuf.. even you will feel nice about it.
UnionFS based snapshotting Or having a Read only based virtual machines.
Just give a try and give the feedback. Since i found this concept interesting.
http://flaviostechnotalk.com/wordpress/index.php/2005/06/28/filesystem-snapshots-with-unionfs/
Regards Arun Sharma
On 11/2/07, Christian Horn <chorn@xxxxxxxxxxxx> wrote:
On Fri, Nov 02, 2007 at 07:01:35PM +0530, Arun Sharma wrote: > > So can you give me the steps by step doc on how to implemnent the same you > are talking about. So that i can have a try.
The basic steps using usual lvm2 are:
- create a pv, i.e. if /dev/sdc is a disc you want to use: pvcreate /dev/sdc
- create a volumegroup containing the created pv: vgcreate vg_xen /dev/sdc
- create your master-volme:
lvcreate -L 7G -n lv_master vg_xen
- create the master-domU: create a xen-domU using phy:/dev/vg_xen/lv_master as disc and install your OS
- shutdown the master-domU
- create the first snapshot:
lvcreate -s -L 2G -n lv_snap01 /dev/vg_xen/lv_master The above leaves 2G storage for changes that the slave-domU can make in the snapshot.
- create the first slave-domU: create a xen-configfile mostly
similiar to the master-domU config, change domU name, and use phy:/dev/vg_xen/lv_snap01 as disc
Christian
--
Regards Arun Sharma 0-934-829-3810
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-users] XEN : Is there any way for sharing base virtual image.?,
Arun Sharma <=
|
|
|
|
|