After looking in detail clvm is not what I need... clvm provide a locking 
system for protecting lvm configuration changes on lv... It doesn't prevent 
mounting the volumes on 2 hosts.

After searching for a while, I don't find any reponse for my question "What do 
I need in order to protect my shared storage (shared SAN lun with lvm volumes) 
during live migration?". My question is probably not right... Is it correct to 
say that :
"A migration moves the complete domU state including the current VFS state.  
The old domU is paused and all remaining dirty blocks are copied over before 
the migrated domU is taken active and the paused domU gets killed."

If it is I don't need to protect my shared lvm volume.... If nobody try to 
mount it on the two dom0 ?

David



Le 18 nov. 2009 à 19:31, Ulrich David a écrit :

> I just need to rebound on my initial question. I now want to install lvm2 
> with "cluster aware" tools (clvm). I want to use a lock on my lvm volumes 
> which could be mount by multiple hosts (but only one at a time).
> I unmask clvm in the profile file of amd64. But when I install lvm2 with clvm 
> use flag I don't have a useable clvm :
> 
> iceage0 ~ # /etc/init.d/clvmd start
> * Caching service dependencies ...
> *  Can't find service 'cman' needed by 'clvmd';  continuing...                
>                                                                               
>                                     [ ok ]
> cman
> * ERROR:  Some services needed are missing.  Run
> *         './clvmd broken' for a list of those
> *         services.  clvmd was not started.
> iceage0 ~ # /etc/init.d/clvmd status
> * status:  stopped
> 
> If I unmask cman, the result is :
> 
> 
> iceage0 ~ # emerge -pv lvm2
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "=sys-cluster/cman-2*".
> (dependency required by "sys-fs/lvm2-2.02.51-r2" [ebuild])
> (dependency required by "lvm2" [argument])
> 
> no cman-2 in portage...
> 
> I have noticed that with clvm flag, configuration option for lvm2 are :
> * econf: updating LVM2.2.02.51/autoconf/config.sub with 
> /usr/share/gnuconfig/config.sub
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
> --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
> --enable-readline --disable-selinux --enable-pkgconfig --libdir=/usr/lib64 
> --enable-dmeventd --enable-cmdlib --enable-applib --enable-fsadm 
> --enable-static_link --with-mirrors=internal --with-snapshots=internal 
> --with-lvm1=internal --with-cluster=internal --with-clvmd=none 
> --with-pool=internal --sbindir=/sbin --with-staticdir=/sbin CLDFLAGS=-Wl,-O1
> 
> ==> --with-clvmd=none is that normal?

Reply via email to