From: Ulrich David <david.ulrich@siesa.ch>
To: gentoo-cluster@lists.gentoo.org
Subject: Re: [gentoo-cluster] clvm/lvm2/device-mapper
Date: Wed, 18 Nov 2009 19:31:48 +0100 [thread overview]
Message-ID: <878EDB03-4200-4069-A0DD-0BECC4B35FCA@siesa.ch> (raw)
In-Reply-To: <20091019204229.GA3602@orbis-terrarum.net>
Hi,
Le 19 oct. 2009 à 22:42, Robin H. Johnson a écrit :
> On Mon, Oct 19, 2009 at 03:42:16PM +0200, Ulrich David wrote:
>> If I want to install clvm, the package is masked and "flagged in
>> read me" as "redondant" with lvm2. In lvm2 I can't get "clvm" flag
>> to work (it is in parentheses).
>> My packages versions are the stables ones :
>> sys-fs/lvm2-2.02.36
>> sys-kernel/xen-sources-2.6.18-r12
>>
>> Do I need clvm? What must I do to having it working?
> There was NEVER a stable package release of sys-fs/clvm.
>
> Correspondingly, you must use the ~arch releases of sys-fs/lvm2 for good
> CLVM support.
>
> Additionally, the clvm use flag is use.mask'd for nearly all
> architectures, because nobody has tested it.
> x86 is the only arch that has it unmasked:
> /usr/portage/profiles/arch/x86/use.mask:-clvm
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?
>
>> sys-fs/multipath-tools-0.4.7-r2 (0.4.8 doesn't work)
I have added a very "usefull" (for me) bug report for multipath-tools :
http://bugs.gentoo.org/show_bug.cgi?id=293615
multipath hangs IOs instead of marking a volume as unusable... If I unmap a volume, multipath try changing the path all the time. So a raid1 on 2 volumes is not useable.
next prev parent reply other threads:[~2009-11-18 20:03 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 [this message]
2009-11-19 10:20 ` Ulrich David
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=878EDB03-4200-4069-A0DD-0BECC4B35FCA@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