From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r2DGrxD7017598 for ; Wed, 13 Mar 2013 12:54:00 -0400 Received: from h01.hoster-ok.com (h01.hoster-ok.com [88.86.111.110]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2DGruhb014056 for ; Wed, 13 Mar 2013 12:53:57 -0400 Message-ID: <5140AF20.7060406@hoster-ok.com> Date: Wed, 13 Mar 2013 19:53:52 +0300 From: Vladislav Bogdanov MIME-Version: 1.0 References: <513090CA.8050904@pse-consulting.de> <5136F2F1.3020202@pse-consulting.de> <5136F738.1010707@hoster-ok.com> <5137091A.4070300@pse-consulting.de> <51370DDB.5010002@hoster-ok.com> <5137137B.5010800@pse-consulting.de> <5137267A.7040000@hoster-ok.com> <513733C0.2020207@pse-consulting.de> <5137447B.7030906@hoster-ok.com> <514097C8.4030602@pse-consulting.de> In-Reply-To: <514097C8.4030602@pse-consulting.de> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] LVM snapshot with Clustered VG [SOLVED] Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: Andreas Pflug Cc: LVM general discussion and development 13.03.2013 18:14, Andreas Pflug wrote: > Hi Vladislav, > > I finally succeeded making all working as expected! > > What I did: > - compile corosync 2.3.0 > (http://corosync.org/download/corosync-2.3.0.tar.gz) > - compile libqb 0.14.4 > (https://fedorahosted.org/releases/q/u/quarterback/libqb-0.14.4.tar.gz) > - compile dlm_4.0.1 > (http://git.fedorahosted.org/cgit/dlm.git/snapshot/dlm-4.0.1.tar.gz) > - Compiled LVM 2.2.98 > (http://git.fedorahosted.org/cgit/lvm2.git/snapshot/lvm2-2_02_98.tar.gz) > with your PREVIOUS patch ( > https://www.redhat.com/archives/linux-lvm/2013-January/msg00006.html ) > > I made a 2-node test cluster, both accessing a test iscsi target, all > daemons load fine. > Everything works as expected! Snapshotting is possible after -aey > --force explicit exclusive locking, lvresize works as well. > > Previously, I tried your latest patch. I had a plethiora of errors, > starting with lvcreate failing: > > #metadata/lv_manip.c:4137 Clearing start of logical volume "testvol2" > #device/dev-cache.c:599 /dev/san2/testvol2: stat failed: No such > file or directory > #metadata/lv_manip.c:4140 /dev/san2/testvol2: not found: device not > cleared > #metadata/lv_manip.c:4620 Aborting. Failed to wipe start of new LV. Yep, I know about this, I reworked that patch a lot, and now it does every thing I wanted without regressions. I will try to post updated version in the next few days when I manage to apply it to a git tree. > > I need to add -Z n to have it created. After that, most activations > failed, with error code 5. I went back to vanilla 2.2.98, all ok except > exclusive locking, applied the initial locking patch and voila! All done. > > Thanks for your support! > Andreas > >