Skip to contentSkip to conversation

Problem with locking_type 2 lvm/cluster/gfs

linux-lvm Markus Jeckeln 2 participants 3 messages Jun 27, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi There,

i am trying to build up a setup with several servers accessing one SAN.

I use a RedHat Enterprise Linux 4 with RHEL4U1 packages (lvm2-2.01.08-1.0.RHEL4.i386.rpm) and the lvm2-cluster srpm from fedora 4

as soon as i put up the locking_type = 2 and set the locking_library then i can't run any lvm commands (vgdisplay/vgchange) ... returning with connect() failed on local socket: Connection refused
Locking type 2 initialisation failed.

only when the clvmd is running.. but i can not boot up my machine anymore because clvmd is not running when mounting my local lvm filesystems.

any help is higly apreciated!!!

#lvmcmdline.c:836 Processing: vgchange -vvvvv -ay VolGroup00
#lvmcmdline.c:839 O_DIRECT will be used
#config/config.c:773 Setting global/locking_type to 2
#config/config.c:758 Setting global/locking_library to
/usr/lib/liblvm2clusterlock.so
#misc/sharedlib.c:41 Opening shared locking library
/usr/lib/liblvm2clusterlock.so
#locking/external_locking.c:92 Loaded external locking library
/usr/lib/liblvm2clusterlock.so
#cluster_locking.c:83 connect() failed on local socket: Connection refused
#lvmcmdline.c:853 Locking type 2 initialisation failed.

Greeeetings Markus Jeckeln

Signature · 6 lines
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
#2 lore raw
Quoted 4 lines · Markus Jeckeln

as soon as i put up the locking_type = 2 and set the locking_library then i can't run any lvm commands (vgdisplay/vgchange) ... returning with connect() failed on local socket: Connection refused
Locking type 2 initialisation failed.

Is root filesystem on LVM? - if so, check your initrd got updated. Check *exactly* what lvm commands are getting run in initrd and initscripts.

vgdisplay output for a clustered VG:
Clustered yes

Cluster Suite packages are available on RH Network.

Alasdair

Signature · 1 line
[email protected]
#3 lore raw
Quoted 8 lines

--- Urspr�ngliche Nachricht ---
Von: Alasdair G Kergon <[email protected]>
An: LVM general discussion and development <[email protected]>
Betreff: Re: [linux-lvm] Problem with locking_type 2 lvm/cluster/gfs
Datum: Mon, 27 Jun 2005 14:08:03 +0100

Quoted 1 line · Markus Jeckeln

as soon as i put up the locking_type = 2 and set the locking_library

Quoted 8 lines

then i

Quoted 3 lines

can't run any lvm commands (vgdisplay/vgchange) ... returning with connect() failed on local socket: Connection refused Locking type 2 initialisation failed.

Is root filesystem on LVM? - if so, check your initrd got updated. Check *exactly* what lvm commands are getting run in initrd and initscripts.

No the root filesystem is not on LVM.

Quoted 4 lines

vgdisplay output for a clustered VG:
Clustered yes

Cluster Suite packages are available on RH Network.

Wohoooow.. yes.. right the cluster channel is there.. great. But i am missing lvm2-cluster and the gfs packages :(

Quoted 4 lines

Alasdair

Signature · 1 line
[email protected]
Signature · 2 lines
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl