AW: Re: [Linux-cluster] clvmd Falling back to local file-based locking

Peter Haufschild peter.haufschild at dilax.com
Tue Jun 10 10:50:25 UTC 2008


> -----Ursprüngliche Nachricht-----
> Von: Christine Caulfield [mailto:ccaulfie at redhat.com]
> Gesendet: Dienstag, 10. Juni 2008 12:39
> An: linux clustering
> Betreff: Re: [Linux-cluster] clvmd Falling back to local file-based
> locking
> 
> Peter Haufschild wrote:
> > Hallo,
> > after a reboot I start cman and clvmd and the start success.
> >
> > 3 Blades show's me
> >
> > [root at blade1 ~]# pvdisplay
> >     Logging initialised at Tue Jun 10 12:18:56 2008
> >     Set umask to 0077
> >     Scanning for physical volume names
> >   --- Physical volume ---
> >   PV Name               /dev/sdb1
> >   VG Name               SATAStorage
> >   PV Size               4096,00 EB / not usable 4096,00 EB
> >   Allocatable           yes
> >   PE Size (KByte)       4096
> >   Total PE              476906
> >   Free PE               4842
> >   Allocated PE          472064
> >   PV UUID               I2xV9i-8SN7-ifza-CmJA-W6ez-b2cT-OL4gxw
> >
> >   --- Physical volume ---
> >   PV Name               /dev/sda1
> >   VG Name               SCSIStorage
> >   PV Size               410,19 GB / not usable 3,40 MB
> >   Allocatable           yes
> >   PE Size (KByte)       4096
> >   Total PE              105008
> >   Free PE               19248
> >   Allocated PE          85760
> >   PV UUID               695f63-a0Tv-lEJ9-Xubw-f4We-ymak-TZ0ah4
> >
> >     Wiping internal VG cache
> > This are OK.
> >
> > But 2 Blades show me
> >
> >
> > [root at blade9 ~]# lvdisplay
> > lvm2    Logging initialised at Tue Jun 10 12:14:41 2008
> > lvm2    Set umask to 0077
> > lvm2  connect() failed on local socket: Verbindungsaufbau abgelehnt
> > lvm2  WARNING: Falling back to local file-based locking.
> > lvm2  Volume Groups with the clustered attribute will be inaccessible.
> > lvm2    Finding all logical volumes
> > lvm2  Skipping clustered volume group SATAStorage
> > lvm2  Skipping clustered volume group SCSIStorage
> > lvm2    Wiping internal VG cache
> > [root at blade9 ~]# vgdisplay
> > lvm2    Logging initialised at Tue Jun 10 12:20:13 2008
> > lvm2    Set umask to 0077
> > lvm2  connect() failed on local socket: Verbindungsaufbau abgelehnt
> > lvm2  WARNING: Falling back to local file-based locking.
> > lvm2  Volume Groups with the clustered attribute will be inaccessible.
> > lvm2    Finding all volume groups
> > lvm2    Finding volume group "SATAStorage"
> > lvm2  Skipping clustered volume group SATAStorage
> > lvm2    Finding volume group "SCSIStorage"
> > lvm2  Skipping clustered volume group SCSIStorage
> > lvm2    Wiping internal VG cache
> >
> > cluster.conf and lvm.conf identical.
> >
> >
> > This difference I could see already at boot time, when activating lvm's.
> 
> Assuming that Google's translation to "Connection Rejected" is correct

[Peter Haufschild] 
Connection Rejected that's the problem 

> then it sounds like either clvmd isn't running or possibly SELinux
[Peter Haufschild] 
Selinux is disabled

/etc/init.d/clvmd status
clvmd (PID 7866) wird ausgeführt...
active volumes: lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2 lvm2

maybe he is lying :-(

but on a working maschine it looks like:

/etc/init.d/clvmd status
clvmd (PID 5448) wird ausgeführt...
active volumes: alfrescovar bose ftpvar gfs intranet projektronvar scalixvar schulung schulung1 schulung2 sql2005dmzD alfrescoroot aurillac cotral dmztest ftproot hkl management projektronroot rhel5test samba scalixroot sql2005dmzC sql2005dmzc stabus swt w2k3calypso1 w2k3calypso2 w2k3caruso1 w2k3caruso2


/etc/init.d/clvmd restart
Deactivating VG SATAStorage: lvm2    Logging initialised at Tue Jun 10 12:44:47 2008
lvm2    Set umask to 0077
lvm2    Using volume group(s) on command line
lvm2    Finding volume group "SATAStorage"
lvm2    Deactivated logical volumes in volume group "SATAStorage"
lvm2  0 logical volume(s) in volume group "SATAStorage" now active
lvm2    Wiping internal VG cache
                                                           [  OK  ]
Deactivating VG SCSIStorage: lvm2    Logging initialised at Tue Jun 10 12:44:47 2008
lvm2    Set umask to 0077
lvm2    Using volume group(s) on command line
lvm2    Finding volume group "SCSIStorage"
lvm2    Deactivated logical volumes in volume group "SCSIStorage"
lvm2  0 logical volume(s) in volume group "SCSIStorage" now active
lvm2    Wiping internal VG cache
                                                           [  OK  ]
Stopping clvm:                                             [  OK  ]
Starting clvmd:                                            [  OK  ]
Activating VGs: lvm2    Logging initialised at Tue Jun 10 12:44:49 2008
lvm2    Set umask to 0077
lvm2    Finding all volume groups
lvm2    Finding volume group "SATAStorage"
lvm2    Activated logical volumes in volume group "SATAStorage"
lvm2  11 logical volume(s) in volume group "SATAStorage" now active
lvm2    Finding volume group "SCSIStorage"
lvm2    Activated logical volumes in volume group "SCSIStorage"
lvm2  19 logical volume(s) in volume group "SCSIStorage" now active
lvm2    Wiping internal VG cache
                                                           [  OK  ]

When I do this restart on a working machine I do not get this lvm2 on the beginning of each line as output.

Peter

> getting in the way of connecting to clvmd.
> 
> You say clvmd has started, but have you check it is actually running ?
> 
> Chrissie
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster






More information about the Linux-cluster mailing list