[Bug 1920047] Re: sanlock global lock creation fail

Heitor Alves de Siqueira 1920047 at bugs.launchpad.net
Mon May 24 14:39:27 UTC 2021


** Changed in: lvm2 (Ubuntu)
     Assignee: (unassigned) => Heitor Alves de Siqueira (halves)

** Changed in: lvm2 (Ubuntu)
   Importance: Undecided => High

** Changed in: lvm2 (Ubuntu)
       Status: New => Fix Released

** Also affects: lvm2 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: lvm2 (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Changed in: lvm2 (Ubuntu Focal)
       Status: New => Confirmed

** Changed in: lvm2 (Ubuntu Groovy)
       Status: New => Confirmed

** Changed in: lvm2 (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: lvm2 (Ubuntu Focal)
     Assignee: (unassigned) => Heitor Alves de Siqueira (halves)

** Changed in: lvm2 (Ubuntu Groovy)
     Assignee: (unassigned) => Heitor Alves de Siqueira (halves)

** Changed in: lvm2 (Ubuntu Groovy)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1920047

Title:
  sanlock global lock creation fail

Status in lvm2 package in Ubuntu:
  Fix Released
Status in lvm2 source package in Focal:
  Confirmed
Status in lvm2 source package in Groovy:
  Confirmed

Bug description:
  Hello,

  Running Ubuntu server 20.04, I cannot create a shared VG using sanlock
  :

  # vgcreate --shared foo /dev/mapper/vol
    Enabling sanlock global lock
    Skipping global lock: lockspace not found or started
    Logical volume "lvmlock" created.
    VG foo init failed: -28
    Failed to initialize lock args for lock type sanlock
    Volume group "foo" successfully removed

  Messages in /var/log/syslog

  lvmlockd[446807]: 1616089866 WARNING: mixed block sizes physical 4096 logical 512 (using 4096) for /dev/mapper/foo-lvmlock
  lvmlockd[446807]: 1616089866 S lvm_foo init_vg_san write_resource gl error -28 /dev/mapper/foo-lvmlock

  # lsb_release -rd
  Description:    Ubuntu 20.04.2 LTS
  Release:        20.04

  # dpkg -l | grep lvm
  ii  liblvm2cmd2.03:amd64                 2.03.07-1ubuntu1                      amd64        LVM2 command library
  ii  lvm2                                 2.03.07-1ubuntu1                      amd64        Linux Logical Volume Manager
  ii  lvm2-lockd                           2.03.07-1ubuntu1                      amd64        LVM locking daemon

  A similar bug report from RHEL8 :
  https://bugzilla.redhat.com/show_bug.cgi?id=1833837

  Bug has been fixed upstream :
  https://sourceware.org/git/?p=lvm2.git;a=commit;h=2d1fe38d84d499011d13ae1ea11535398528fc87

  It seems to be included in version 2.03.10 :
  https://sourceware.org/git/?p=lvm2.git;a=shortlog;h=refs/tags/v2_03_10

  How can we get this patch included in Ubuntu 20.04 ?

  King Regards,

  Charles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1920047/+subscriptions



More information about the foundations-bugs mailing list