Solved Re: [CentOS] Problem after last update
nicholas at fiocruz.br
Wed May 31 15:46:09 UTC 2006
Bob Marcan wrote:
> Nicholas Anderson wrote:
>> Hi all,
>> i've just updated CentOS4.3 .
>> After updating it i rebooted the machine (cause there was some kernel
>> pkg's) and it seems that centos lost my LVM config ....
>> I tried manually a vgscan and:
>> (root at backupsrv) boot # vgscan
>> connect() failed on local socket: Connection refused
>> Locking type 2 initialisation failed.
>> and my /dev/VG0/LogVol00 dissapeared :-(
>> Any tips ?
> I'm running cluster and got the same error.
> Go back to 2.6.9-34.
> Or remove lvm2-cluster ?
i've just solved the problem :-P
up2date has changed my lvm.conf ....
I'm new to Centos, and i didnt know that it saves a copy of the replaced
im my case it was the lvm.conf.
The new file (called "bad" :-) ) uses type 2 of locking_type ....
below is a short version (cutting the comments and line numbers) of a
diff between both files ....
(root at backupsrv) lvm # diff -ru lvm.conf lvm.conf.bad
+ library_dir = "/usr/lib"
+ locking_library = "liblvm2clusterlock.so"
- locking_type = 1
+ locking_type = 2
Administrador de Sistemas Unix
e-mail: nicholas at fiocruz.br
More information about the CentOS