Public bug reported:

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

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  sanlock global lock creation fail

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to