[linux-lvm] clvmd locking disabled
Christine Caulfield
ccaulfie at redhat.com
Wed Oct 29 11:32:18 UTC 2008
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
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
>>
>>
More information about the linux-lvm
mailing list