[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Error Attempting to Create LV on Clustered VG



On Tue, 19 Mar 2013 12:58:53 -0400
Marc Smith <marc smith mcc edu> wrote:
> Hi,
> 
> I'm attempting to create a logical volume on a clustered volume group
> in a (2) node Pacemaker + Corosync cluster (active/active). I have
> successfully created the VG and it appears available on both hosts:
> 
> [root bill ~]# vgs
>   VG   #PV #LV #SN Attr   VSize   VFree
>   r0     1   0   0 wz--nc 203.24g 203.24g
> 
> [root ben ~]# vgs
>   VG   #PV #LV #SN Attr   VSize   VFree
>   r0     1   0   0 wz--nc 203.24g 203.24g
> 
> When I attempt to create a LV on this VG from one of the hosts, I get
> the following error message:
> [root ben ~]# lvcreate -L 150G -n testvmfs1 r0
>   Error locking on node 40e6640a: Invalid argument
>   Error locking on node 31e6640a: Invalid argument
>   Failed to activate new LV.

[...]

> I've Google'd around a bit but haven't found any other posts quite
> like this one. Here are the software versions I'm using on these
> hosts:
> Linux kernel: 3.7.8
> LVM2: 2.02.97
> DLM User Tools (dlm_controld): 4.0.1
> Corosync: 2.3.0
> Pacemaker: 1.1.8

Are you using a 64-bit environment. If so, then this might be the bug in the
3.7 kernel DLM driver.

http://www.redhat.com/archives/cluster-devel/2013-February/msg00060.html

And here is the patch:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d4b0bcf32b946590afd29e202d6a399b84fe6c67


Greets,
	Jacek


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]