1 |
Hi, |
2 |
|
3 |
Le 19 oct. 2009 à 22:42, Robin H. Johnson a écrit : |
4 |
|
5 |
> On Mon, Oct 19, 2009 at 03:42:16PM +0200, Ulrich David wrote: |
6 |
>> If I want to install clvm, the package is masked and "flagged in |
7 |
>> read me" as "redondant" with lvm2. In lvm2 I can't get "clvm" flag |
8 |
>> to work (it is in parentheses). |
9 |
>> My packages versions are the stables ones : |
10 |
>> sys-fs/lvm2-2.02.36 |
11 |
>> sys-kernel/xen-sources-2.6.18-r12 |
12 |
>> |
13 |
>> Do I need clvm? What must I do to having it working? |
14 |
> There was NEVER a stable package release of sys-fs/clvm. |
15 |
> |
16 |
> Correspondingly, you must use the ~arch releases of sys-fs/lvm2 for good |
17 |
> CLVM support. |
18 |
> |
19 |
> Additionally, the clvm use flag is use.mask'd for nearly all |
20 |
> architectures, because nobody has tested it. |
21 |
> x86 is the only arch that has it unmasked: |
22 |
> /usr/portage/profiles/arch/x86/use.mask:-clvm |
23 |
|
24 |
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). |
25 |
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 : |
26 |
|
27 |
iceage0 ~ # /etc/init.d/clvmd start |
28 |
* Caching service dependencies ... |
29 |
* Can't find service 'cman' needed by 'clvmd'; continuing... [ ok ] |
30 |
cman |
31 |
* ERROR: Some services needed are missing. Run |
32 |
* './clvmd broken' for a list of those |
33 |
* services. clvmd was not started. |
34 |
iceage0 ~ # /etc/init.d/clvmd status |
35 |
* status: stopped |
36 |
|
37 |
If I unmask cman, the result is : |
38 |
|
39 |
|
40 |
iceage0 ~ # emerge -pv lvm2 |
41 |
|
42 |
These are the packages that would be merged, in order: |
43 |
|
44 |
Calculating dependencies... done! |
45 |
|
46 |
emerge: there are no ebuilds to satisfy "=sys-cluster/cman-2*". |
47 |
(dependency required by "sys-fs/lvm2-2.02.51-r2" [ebuild]) |
48 |
(dependency required by "lvm2" [argument]) |
49 |
|
50 |
no cman-2 in portage... |
51 |
|
52 |
I have noticed that with clvm flag, configuration option for lvm2 are : |
53 |
* econf: updating LVM2.2.02.51/autoconf/config.sub with /usr/share/gnuconfig/config.sub |
54 |
./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 |
55 |
|
56 |
==> --with-clvmd=none is that normal? |
57 |
|
58 |
> |
59 |
>> sys-fs/multipath-tools-0.4.7-r2 (0.4.8 doesn't work) |
60 |
|
61 |
I have added a very "usefull" (for me) bug report for multipath-tools : |
62 |
http://bugs.gentoo.org/show_bug.cgi?id=293615 |
63 |
|
64 |
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. |