Bug#698346: linux-image-3.7-trunk-amd64: operations on clustered logical volumes broken.
Package: linux-image-3.7-trunk-amd64
Version: 3.7.1-1~experimental.2
Severity: normal
I cannot create any logical volumes after booting both servers in the
2-node cluster on linux-image-3.7-trunk-amd64. Creating clustered lv's
works when booting on the kernel image from linux-image-3.2.0-4-amd64.
The only error message when I get during the creation-attempt is the
following:
Error locking on node node1: Invalid argument
Error locking on node node2: Invalid argument
After creating the clustered lv on linux-image-3.2.0-4-amd64, and reboot
both cluster members on 3.7-trunk, the clvm init-script complains
about:
Error locking on node node1: Invalid argument
lvdisplay lists the lv as status "NOT available" on
linux-image-3.7-trunk-amd64, and "available" when booted on
linux-image-3.2.0-4-amd64.
Trying to resize the already created lv () gives the following error:
"cluster request failed: Invalid argument"
The lV is created on top of a drdb device.
I'm filing this bug against linux-image-3.7-trunk-amd64 since it works
in linux-image-3.2.0-4-amd64, so I'm assuming something changed in the
kernel that broke lvm clustering.
Additional info:
lvm.conf has "locking_type=3"
# vgdisplay
--- Volume group ---
VG Name amq
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
Clustered yes
Shared no
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 558.86 GiB
PE Size 4.00 MiB
Total PE 143068
Alloc PE / Size 143068 / 558.86 GiB
Free PE / Size 0 / 0
VG UUID oDiNZj-LZ5g-4fZ4-JLs5-rjkW-0wVh-taeTMg
# lvdisplay
--- Logical volume ---
LV Path /dev/amq/gfsShare
LV Name gfsShare
VG Name amq
LV UUID 22NHEv-DQTy-uVrL-gcxg-Wdn1-SIzg-xAycdV
LV Write Access read/write
LV Creation host, time node01, 2013-01-17 11:13:40 +0100
LV Status NOT available
LV Size 558.86 GiB
Current LE 143068
Segments 1
Allocation inherit
Read ahead sectors auto
# dpkg --status linux-image-3.7-trunk-amd64
Package: linux-image-3.7-trunk-amd64
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 108797
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Source: linux
Version: 3.7.1-1~experimental.2
Provides: linux-image, linux-modules-3.7-trunk-amd64
Depends: kmod | module-init-tools, linux-base (>= 3~), initramfs-tools
(>= 0.99~) | linux-initramfs-tool
Pre-Depends: debconf | debconf-2.0
Recommends: firmware-linux-free (>= 3~)
Suggests: linux-doc-3.7, debian-kernel-handbook, grub-pc | extlinux |
lilo
Breaks: at (<< 3.1.12-1+squeeze1), initramfs-tools (<< 0.99~)
Description: Linux 3.7 for 64-bit PCs
The Linux kernel 3.7 and modules for use on PCs with AMD64, Intel 64 or
VIA Nano processors.
.
This kernel also runs on a Xen hypervisor. It supports both privileged
(dom0) and unprivileged (domU) operation.
#dpkg --status clvm
Package: clvm
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 720
Maintainer: Debian LVM Team
<pkg-lvm-maintainers@lists.alioth.debian.org>
Architecture: amd64
Multi-Arch: foreign
Source: lvm2
Version: 2.02.95-4
Depends: libc6 (>= 2.4), libcman3 (>= 3.0.12), libconfdb4 (>= 1.4.2),
libcpg4 (>= 1.4.2), libdevmapper-event1.02.1 (>= 2:1.02.74),
libdevmapper1.02.1 (>= 2:1.02.74), libdlm3 (>= 3.0.12), libquorum4 (>=
1.4.2), libsalck3 (>= 1.1.4), libudev0 (>= 0.140), lvm2 (= 2.02.95-4),
lsb-base
Recommends: corosync | openais | cman
Conffiles:
/etc/init.d/clvm 1be1fa7eb1198b1c33cfd9acbd47b3a8
Description: Cluster LVM Daemon for lvm2
This package provides the clustering interface for lvm2, when used with
Red Hat's "cman" or corosync based (eg Pacemaker) cluster
infrastructure.
It allows logical volumes to be created on shared storage devices
(eg Fibre Channel, or iSCSI).
Homepage: http://sources.redhat.com/lvm2/
#dpkg --status lvm2
Package: lvm2
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1130
Maintainer: Debian LVM Team
<pkg-lvm-maintainers@lists.alioth.debian.org>
Architecture: amd64
Multi-Arch: foreign
Version: 2.02.95-4
Depends: libc6 (>= 2.4), libdevmapper-event1.02.1 (>= 2:1.02.74),
libdevmapper1.02.1 (>= 2:1.02.74), libreadline5 (>= 5.2), libudev0 (>=
0.140), lsb-base, dmsetup (>> 2:1.02.47), initscripts (>= 2.88dsf-13.3)
Breaks: initramfs-tools (<< 0.99)
Conffiles:
/etc/lvm/lvm.conf 6c7803e3803ffc7369b13b4ea62cef8c
/etc/init.d/lvm2 82aa3ab5c2c317d15b4a479f6bd2cde3
Description: Linux Logical Volume Manager
This is LVM2, the rewrite of The Linux Logical Volume Manager. LVM
supports enterprise level volume management of disk and disk subsystems
by grouping arbitrary disks into volume groups. The total capacity of
volume groups can be allocated to logical volumes, which are accessed
as
regular block devices.
Homepage: http://sources.redhat.com/lvm2/
# dpkg --status cman
Package: cman
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1537
Maintainer: Debian HA Maintainers
<debian-ha-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: redhat-cluster
Version: 3.0.12-3.2+deb7u2
Depends: debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.7), libccs3 (>=
3.0.12), libcman3 (>= 3.0.12), libconfdb4 (>= 1.4.2), libcpg4 (>=
1.4.2), libdlm3 (>= 3.0.12), libdlmcontrol3 (>= 3.0.12), libfence4 (>=
3.0.12), libldap-2.4-2 (>= 2.4.7), liblogthread3 (>= 3.0.12), libnspr4
(>= 2:4.9-2~) | libnspr4-0d (>= 1.8.0.10), libnss3 (>= 2:3.13.4-2~) |
libnss3-1d (>= 3.12.0~1.9b1), libsackpt3 (>= 1.1.4), libvirt0 (>=
0.1.1), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4), corosync (>= 1.2.1),
openais (>= 1.1.1), python, openipmi, sg3-utils, python-pexpect,
libnet-snmp-perl, libnet-telnet-perl, snmp, telnet | telnet-client,
openssh-client, python-openssl, libxml2-utils
Pre-Depends: debconf | debconf-2.0
Conflicts: fence-agents, libdlm-dev (<= 2.20090112-0ubuntu3)
Conffiles:
/etc/default/cman 1654280c0fadd85aa5c159e937fb53c6
/etc/logrotate.d/cman 14cb0af040815af6bd10923acaed4574
/etc/init.d/cman e54f37e2f91e6c93326d8522ce7bcd8a
Description: Red Hat cluster suite - cluster manager
This package is part of the Red Hat Cluster Suite, a complete
high-availability solution.
.
CMAN is a symmetric general-purpose cluster manager. It provides a
service manager that handles service groups, plus a connection
manager that handles cluster membership management, messaging among
the cluster nodes, event notification, quorum and state transitions.
.
This package contains only tools for controlling the cluster manager
itself.
# dpkg --status drbd8-utils
Package: drbd8-utils
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 615
Maintainer: Debian DRBD Maintainers
<debian-ha-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: drbd8
Version: 2:8.3.13-2
Replaces: drbd, drbd-utils
Provides: drbd-utils
Depends: debconf | debconf-2.0, libc6 (>= 2.11)
Recommends: heirloom-mailx | mailx
Suggests: heartbeat
Conflicts: drbd-utils
Conffiles:
/etc/drbd.conf 6fd1c1c463d9066ae87283fc3cbf7093
/etc/ha.d/resource.d/drbdupper f82b84ca5cc197ae5756231a54ccb0d3
/etc/ha.d/resource.d/drbddisk bd2062f40e7db32156c4d300f26f94e4
/etc/xen/scripts/block-drbd 32bb730b3e95b5697f8a61cd5c4368d7
/etc/bash_completion.d/drbdadm 035bb5e4da76b8b855fb31194a8ab4f4
/etc/init.d/drbd 13ade8ade95987be99d641d8e3b057cd
/etc/drbd.d/global_common.conf 3f14717adea04aae7372b1082a9d8fb8
Description: RAID 1 over tcp/ip for Linux utilities
Drbd is a block device which is designed to build high availability
clusters by providing a virtual shared device which keeps disks in
nodes synchronised using TCP/IP. This simulates RAID 1 but avoiding
the use of uncommon hardware (shared SCSI buses or Fibre Channel).
It is currently limited to fail-over HA clusters.
.
This package contains the programs that will control the drbd kernel
module provided in the Linux kernel.
Homepage: http://www.drbd.org/
Reply to: