Re: Error Attempting to Create LV on Clustered VG

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

 



> > 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
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d4b0bcf32b946590afd29e202d6a399b84fe6c67

The fix is in the 3.8 kernel.

> > 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'd also advise setting up proper node definitions in corosync.conf;
it avoids the invalid nodeid issue and makes everything cleaner.
Here's what I use:

totem {
        version: 2
        secauth: off
        cluster_name: foo
}

nodelist {
        node {
                ring0_addr: 1.1.1.1
                nodeid: 1
        }
        node {
                ring0_addr: 2.2.2.2
                nodeid: 2
        }
}

quorum {
        provider: corosync_votequorum
        two_node: 1
}                                                                               

logging {
        to_syslog: yes
}

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux