From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NB5hZ-0002tZ-5B for garchives@archives.gentoo.org; Thu, 19 Nov 2009 12:01:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB390E0874 for ; Thu, 19 Nov 2009 12:01:28 +0000 (UTC) Received: from mx4.netplus.ch (mx4.netplus.ch [213.221.143.234]) by pigeon.gentoo.org (Postfix) with ESMTP id 4B740E05A5 for ; Thu, 19 Nov 2009 10:20:51 +0000 (UTC) Received: from [213.221.151.60] (unknown [213.221.151.60]) (Authenticated sender: david.ulrich@netplus.ch) by mx4.netplus.ch (Postfix) with ESMTPSA id 6EFF75D80F8 for ; Thu, 19 Nov 2009 11:20:50 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-cluster@lists.gentoo.org Reply-to: gentoo-cluster@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: [gentoo-cluster] clvm/lvm2/device-mapper From: Ulrich David In-Reply-To: <878EDB03-4200-4069-A0DD-0BECC4B35FCA@siesa.ch> Date: Thu, 19 Nov 2009 11:20:50 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091019204229.GA3602@orbis-terrarum.net> <878EDB03-4200-4069-A0DD-0BECC4B35FCA@siesa.ch> To: gentoo-cluster@lists.gentoo.org X-Mailer: Apple Mail (2.1077) X-Archives-Salt: 0989fd5a-faa3-4b8f-b812-6547bd8761d4 X-Archives-Hash: dfd323bb55494303a028ce629262940d 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 =E0 19:31, Ulrich David a =E9crit : > 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 : >=20 > 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 >=20 > If I unmask cman, the result is : >=20 >=20 > iceage0 ~ # emerge -pv lvm2 >=20 > These are the packages that would be merged, in order: >=20 > Calculating dependencies... done! >=20 > emerge: there are no ebuilds to satisfy "=3Dsys-cluster/cman-2*". > (dependency required by "sys-fs/lvm2-2.02.51-r2" [ebuild]) > (dependency required by "lvm2" [argument]) >=20 > no cman-2 in portage... >=20 > 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=3D/usr --build=3Dx86_64-pc-linux-gnu = --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man = --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc = --localstatedir=3D/var/lib --enable-readline --disable-selinux = --enable-pkgconfig --libdir=3D/usr/lib64 --enable-dmeventd = --enable-cmdlib --enable-applib --enable-fsadm --enable-static_link = --with-mirrors=3Dinternal --with-snapshots=3Dinternal = --with-lvm1=3Dinternal --with-cluster=3Dinternal --with-clvmd=3Dnone = --with-pool=3Dinternal --sbindir=3D/sbin --with-staticdir=3D/sbin = CLDFLAGS=3D-Wl,-O1 >=20 > =3D=3D> --with-clvmd=3Dnone is that normal?