[Linux-cluster] cLVM: LVM commands take severl minutes to complete

Daniel Dehennin daniel.dehennin at baby-gnu.org
Fri Sep 11 14:02:37 UTC 2015


Hello,

On a two node cluster Ubuntu Trusty:

- Linux nebula3 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59
  UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

- corosync 2.3.3-1ubuntu1

- pacemaker 1.1.10+git20130802-1ubuntu2.3

- dlm 4.0.1-0ubuntu1

- clvm 2.02.98-6ubuntu2

- gfs2-utils 3.1.6-0ubuntu1


The LVM commands take minutes to complete:

    root at nebula3:~# time vgs
      Error locking on node 40a8e784: Command timed out
      Error locking on node 40a8e784: Command timed out
      Error locking on node 40a8e784: Command timed out
      VG             #PV #LV #SN Attr   VSize    VFree
      nebula3-vg       1   4   0 wz--n-  133,52g       0
      one-fs           1   1   0 wz--nc    2,00t       0
      one-production   1   0   0 wz--nc 1023,50g 1023,50g

    real    5m40.233s
    user    0m0.005s
    sys     0m0.018s

Do you know where I can look to find what's going on?

Here are some informations:

    root at nebula3:~# corosync-quorumtool
    Quorum information
    ------------------
    Date:             Fri Sep 11 15:57:17 2015
    Quorum provider:  corosync_votequorum
    Nodes:            2
    Node ID:          1084811139
    Ring ID:          1460
    Quorate:          Yes

    Votequorum information
    ----------------------
    Expected votes:   2
    Highest expected: 2
    Total votes:      2
    Quorum:           1
    Flags:            2Node Quorate WaitForAll LastManStanding

    Membership information
    ----------------------
        Nodeid      Votes Name
    1084811139          1 192.168.231.131 (local)
    1084811140          1 192.168.231.132
    

    root at nebula3:~# dlm_tool ls
    dlm lockspaces
    name          datastores
    id            0x1b61ba6a
    flags         0x00000000
    change        member 2 joined 1 remove 0 failed 0 seq 1,1
    members       1084811139 1084811140

    name          clvmd
    id            0x4104eefa
    flags         0x00000000
    change        member 2 joined 1 remove 0 failed 0 seq 1,1
    members       1084811139 1084811140


    root at nebula3:~# dlm_tool status
    cluster nodeid 1084811139 quorate 1 ring seq 1460 1460
    daemon now 11026 fence_pid 0
    node 1084811139 M add 455 rem 0 fail 0 fence 0 at 0 0
    node 1084811140 M add 455 rem 0 fail 0 fence 0 at 0 0


Regards.

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 342 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20150911/18f211b1/attachment.sig>


More information about the Linux-cluster mailing list