From: Ulrich David <david.ulrich@siesa.ch>
To: gentoo-cluster@lists.gentoo.org
Subject: Re: [gentoo-cluster] clvm/lvm2/device-mapper
Date: Thu, 19 Nov 2009 11:20:50 +0100 [thread overview]
Message-ID: <F13D2973-D915-4DA9-BE9B-02368CBFF447@siesa.ch> (raw)
In-Reply-To: <878EDB03-4200-4069-A0DD-0BECC4B35FCA@siesa.ch>
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?
next prev parent reply other threads:[~2009-11-19 12:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 13:42 [gentoo-cluster] clvm/lvm2/device-mapper Ulrich David
2009-10-19 20:42 ` Robin H. Johnson
2009-11-01 19:37 ` Ulrich David
2009-11-01 19:54 ` Robin H. Johnson
2009-11-02 12:38 ` Ulrich David
2009-11-02 20:27 ` Robin H. Johnson
2009-11-04 13:01 ` Ulrich David
2009-11-04 15:33 ` Ulrich David
2009-11-04 19:49 ` Robin H. Johnson
2009-11-04 20:32 ` Ulrich David
2009-11-04 21:15 ` Robin H. Johnson
2009-11-04 22:15 ` David Ulrich
2009-11-05 0:57 ` Robin H. Johnson
2009-11-05 4:22 ` Robin H. Johnson
2009-11-05 16:37 ` Ulrich David
2009-11-18 18:31 ` Ulrich David
2009-11-19 10:20 ` Ulrich David [this message]
2011-05-02 19:19 ` [gentoo-cluster] unsubscribe Guy Harrison
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F13D2973-D915-4DA9-BE9B-02368CBFF447@siesa.ch \
--to=david.ulrich@siesa.ch \
--cc=gentoo-cluster@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox