From: Stepan Kadlec <skadlec@gk-software.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] clvmd locking disabled
Date: Fri, 31 Oct 2008 13:22:29 +0100 [thread overview]
Message-ID: <490AF885.3060504@gk-software.com> (raw)
In-Reply-To: <490849C2.2040900@redhat.com>
Christine Caulfield wrote:
> Stepan Kadlec wrote:
>> one more report:
>>
>> # vgscan
>> File descriptor 3 (/dev/tty) leaked on vgscan invocation. Parent PID
>> 3389: bash
>> File descriptor 5 (/dev/pts/1) leaked on vgscan invocation. Parent PID
>> 3389: bash
>> File descriptor 7 (pipe:[9066]) leaked on vgscan invocation. Parent PID
>> 3389: bash
>> Unknown locking type requested.
>> Locking type 3 initialisation failed.
>>
>> steve
>>
>> Stepan Kadlec wrote:
>>> hello,
>>> I can't make the clustered LVM running. it can't start the
>>> built-in clustered locking mechanism (using cman).
>>>
>>> lvm is compiled with following options:
>>>
>>> ./configure --with-clvmd=cman --with-cluster=shared
>>> --libdir=/usr/lib64/ --enable-dmeventd --enable-cmdlib
>
>
> If you've built using with-cluster=shared then the locking type in
> lvm.conf should be 2 and not 3, provided you have remembered to install
> the shared library that gets built.
>
> I recommend you don't build it shared (the default), and use locking type 3
>
ok, I have recompiled it with --with-cluster=internal, but still seeing:
WARNING: Locking disabled. Be careful! This could corrupt your metadata.
in lvm.conf I have locking_type = 3, complete configure line was:
./configure --with-clvmd=cman --with-cluster=internal
--libdir=/usr/lib64/ --enable-dmeventd --enable-cmdlib
cluster was compiled with following options:
./configure --disable_kernel_check --enable_xen --libdir=/usr/lib64/
--without_gnbd --without_kernel_modules --without_gfs --without_gfs2
running on kernel 2.6.25
any suggestion?
thanks steve
> Chrissie
>
>>> does anyone have some experiences that could help me make it working?
>>> thanks, steve
>>>
>>> when the clvmd starts it reports this:
>>>
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 CLVMD started
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 Connected to CMAN
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 CMAN initialisation complete
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 DLM initialisation complete
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 Cluster ready, doing some more
>>> initialisation
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 starting LVM thread
>>> CLVMD[41d0c940]: Oct 29 13:16:57 LVM thread function started
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 clvmd ready for work
>>> CLVMD[1772a6d0]: Oct 29 13:16:57 Using timeout of 60 seconds
>>> File descriptor 3 (/dev/tty) leaked on lvm invocation. Parent PID
>>> 13867: clvmd
>>> File descriptor 5 (/dev/pts/3) leaked on lvm invocation. Parent PID
>>> 13867: clvmd
>>> File descriptor 7 (pipe:[12892]) leaked on lvm invocation. Parent PID
>>> 13867: clvmd
>>> File descriptor 8 (/dev/zero) leaked on lvm invocation. Parent PID
>>> 13867: clvmd
>>> WARNING: Locking disabled. Be careful! This could corrupt your
>>> metadata.
>>> CLVMD[41d0c940]: Oct 29 13:16:57 LVM thread waiting for work
>>>
>>>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
--
Eurosoftware s.r.o.
skadlec@gk-software.com
+420 379 307 379
+420 724 554 104
next prev parent reply other threads:[~2008-10-31 12:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 2:28 [linux-lvm] mirror and snapshot incompatible Yoav
2008-10-28 20:56 ` Jonathan Brassow
2008-10-29 0:32 ` Yoav
2008-10-29 10:31 ` [linux-lvm] clvmd locking disabled Stepan Kadlec
2008-10-29 10:45 ` Stepan Kadlec
2008-10-29 11:32 ` Christine Caulfield
2008-10-31 12:22 ` Stepan Kadlec [this message]
2008-10-31 12:43 ` Milan Broz
2008-11-03 16:56 ` Stepan Kadlec
2008-11-04 8:47 ` Stepan Kadlec
2008-10-31 13:27 ` Christine Caulfield
2008-10-29 11:39 ` Milan Broz
2008-10-29 15:06 ` [linux-lvm] mirror and snapshot incompatible Jonathan Brassow
2008-10-30 3:28 ` Yoav
2008-11-01 10:27 ` [linux-lvm] snapshot cloning marcin.kaluza
2008-11-01 17:33 ` Les Mikesell
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=490AF885.3060504@gk-software.com \
--to=skadlec@gk-software.com \
--cc=linux-lvm@redhat.com \
/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