Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Eric
Felipe: Please include the results of the drbd-overview command so that we can see the status of the resource. Eric Pretorious Truckee, CA > > From: Felipe Gutierrez >To: Arnold Krille >Cc: drbd-user@lists.linbit.com >Sent: Tuesday, February 26, 2013 1:57

Re: [DRBD-user] fence-peer helper broken, returned 20

2013-02-26 Thread Anoop
Hi, " State change failed: Refusing to be Primary while peer is not outdated" How can I focefully  change secondary to primary while the primary is not outdated ? If primary is crashed and is not outdated, can't access data in secondary.

Re: [DRBD-user] Several cases of hangups found. I have some stack traces to send.

2013-02-26 Thread Jesus Climent
Has anybody taken a look into it? On Fri, Feb 22, 2013 at 4:41 AM, Felix Frank wrote: > I glanced at it. It looks promising. I'd guess that someone at linbit > might be able to spot a deadlock therein. > > Cheers, > Felix > > On 02/21/2013 07:36 PM, Jesus Climent wrote: >> A new D-state with 8.3.

[DRBD-user] external metadata on ssd vs bcache

2013-02-26 Thread James Harper
Smallish SSD's are dirt cheap these days and I have a spare slot in my servers so I was thinking of putting one in and running bcache (layering would look like drbd->raid0->bcache->sd[ab]). It's a bit of mucking around to set up as bcache isn't in the kernel at this time and is targeted against

Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Felipe Gutierrez
Hi Arnold, I will try to stop Xen. Talking about stonith/fencing I was working with Corosync+Pacemaker+Xen+DRBD but the pace maker configurations got failed when I put all components together. I mean, when I was with Corosync+Pacemaker+DRBD the fencing worked well! After I put Xen together the pa

Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Arnold Krille
On Tue, 26 Feb 2013 09:43:55 -0300 Felipe Gutierrez wrote: > No, it is not mount. it is why i did the option -l on umount > > primary# umount -l /mnt/drbd7 > > I was saving files on this partition with Xen hypervisor. > If I test the same thing with out Xen, everything works fine. Well, then ma

Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Phillips, Dan
We have been working on same/similar "Device is held open by someone" issue for some time now. Occurs on fairly regular basis upon manual failover. [root@jamaica-a logs]# tail -f /var/log/messages Feb 8 04:59:35 jamaica-a kernel: ide: failed opcode was: unknown Feb 8 04:59:35 jamaica-a kernel:

Re: [DRBD-user] drbd 8.4.3 self compiled

2013-02-26 Thread Miles Lott
Usually, on Centos 6.3, I am able to do 'make rpm' and 'make km-rpm' in the untarred source. On 02/26/2013 06:00 AM, Tobias Honacker wrote: Hi guys, I'm trying to compile drbd 8.4.3 (http://www.drbd.org/users-guide/s-build-rpm.html) After execute this command: rpmbuild -bb drbd-kernel.spec i

Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Felipe Gutierrez
No, it is not mount. it is why i did the option -l on umount primary# umount -l /mnt/drbd7 I was saving files on this partition with Xen hypervisor. If I test the same thing with out Xen, everything works fine. I just have to know how to force to make it secondary. For this time I rebbot the mac

Re: [DRBD-user] Device is held open by someone

2013-02-26 Thread Anoop
Check if the mounted directory is open. Logout the session and relogin again and check. Anoop Mohan On 2/26/2013 5:34 PM, Felipe Gutierrez wrote: Hi everyone, I am trying to do a failover system only with drbd. When my primary n

[DRBD-user] Device is held open by someone

2013-02-26 Thread Felipe Gutierrez
Hi everyone, I am trying to do a failover system only with drbd. When my primary node get out of the network, the secondary node became primary and I mount the filesystem. secondary# drbdadm primary r7 secondary# mount /dev/drbd7 /mnt/drbd7/ Until that every thing is ok. At this time, my old prim

[DRBD-user] drbd 8.4.3 self compiled

2013-02-26 Thread Tobias Honacker
Hi guys, I'm trying to compile drbd 8.4.3 (http://www.drbd.org/users-guide/s-build-rpm.html) After execute this command: rpmbuild -bb drbd-kernel.spec i ran into this problem: Fehler: Zeile 47: Ungültiges Zeichen '-' in: Version: 8.4.3_2.6.32-279.22.1.el6.x86_64 This is the line that cause the e

Re: [DRBD-user] DRBD 8.4 module with 8.3 userland tools

2013-02-26 Thread Lionel Sausin
Dear Lars, Sorry I forgot to mention I filed a bug at Ubuntu's and it's being resolved. However I'm still interested to know if 8.3 tools should have worked with a 8.4 module. Particularly, "drbdadm --version" in 8.4.2 still shows DRBDADM_API_VERSION=1, just like in v8.3. Doesn't it indicate it

Re: [DRBD-user] DRBD Unconfigured state after service switch

2013-02-26 Thread Adam Goryachev
On 26/02/13 20:59, Simone Del Pinto wrote: > Hi Lars, > > yes now is more clar for me. > > We made "node standby" to simulate a package switching ( in a wrong > way it seems ). > Let me ask one thing: do ypu know a way to do a "cluster functionalty" > test? > > I'm thinking about unplugging lan cab

Re: [DRBD-user] DRBD Unconfigured state after service switch

2013-02-26 Thread Simone Del Pinto
Hi Lars, yes now is more clar for me. We made "node standby" to simulate a package switching ( in a wrong way it seems ). Let me ask one thing: do ypu know a way to do a "cluster functionalty" test? I'm thinking about unplugging lan cable... is that a right test? Thanks again for your support.

Re: [DRBD-user] DRBD Unconfigured state after service switch

2013-02-26 Thread Lars Ellenberg
On Tue, Feb 26, 2013 at 10:31:27AM +0100, Simone Del Pinto wrote: > Thank u lars! > > I've implemented a cron scripts that if found drbd in Unconfigured state do > a service reload. With this workaruond all seems to work fine. Then you don't understand your cluster manager at all. Get rid of this

Re: [DRBD-user] parse error on meta-disk

2013-02-26 Thread James Harper
Ignore what I wrote below. I started out reading the 8.3 docs but somehow ended up on the 8.4 docs. My bad. James > -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of James Harper > Sent: Tuesday, 26 February 2013 8:0

Re: [DRBD-user] parse error on meta-disk

2013-02-26 Thread Lars Ellenberg
On Tue, Feb 26, 2013 at 09:00:19AM +, James Harper wrote: > When I try and start drbd I get: > > Reloading DRBD configuration:drbd.d/vm.res:7: Parse error: '[' expected, but > got ';' (TK 59) > > The line it's breaking on is: > > meta-disk /dev/vg00/drbd-meta; > > and I suspect it thinks

Re: [DRBD-user] DRBD Unconfigured state after service switch

2013-02-26 Thread Simone Del Pinto
Thank u lars! I've implemented a cron scripts that if found drbd in Unconfigured state do a service reload. With this workaruond all seems to work fine. But... if the service really switch on other node and, for a reason, it come back to last nod what happen? It is very strange... it need a manu

Re: [DRBD-user] drbd 8.3.15 - crm_fence_peer.sh - problem in fence_peer_init()

2013-02-26 Thread Lars Ellenberg
On Mon, Feb 25, 2013 at 01:09:16AM +0100, Pascal BERTON wrote: > Well, thinking about it, the only conclusion that I can honestly make after > this instrumentation is that $id_prefix is effectively incorrect when > entering fence_peer_init() and doesn’t permit to remove the fence rule > then, but

[DRBD-user] parse error on meta-disk

2013-02-26 Thread James Harper
When I try and start drbd I get: Reloading DRBD configuration:drbd.d/vm.res:7: Parse error: '[' expected, but got ';' (TK 59) The line it's breaking on is: meta-disk /dev/vg00/drbd-meta; and I suspect it thinks it wants an index even though that is supposed to be optional. drbd is from Deb

Re: [DRBD-user] DRBD Unconfigured state after service switch

2013-02-26 Thread Lars Ellenberg
On Fri, Feb 22, 2013 at 11:26:07AM +0100, Simone Del Pinto wrote: > Hi guys, > > we are using drbd 8.3.13 on our 2 linux server to keep data of the oer MySQL > server. > > corosync and pacemaker ensure that we have a virtuel IP running and that our > DB is always up on one of those nodes. > Dur

Re: [DRBD-user] DRBD 8.4 module with 8.3 userland tools

2013-02-26 Thread Lars Ellenberg
On Thu, Feb 21, 2013 at 05:51:17PM +0100, Lionel Sausin wrote: > Dear DRBD users and developers, > Ubuntu Raring is being prepared, and is going to ship with kernel > 3.8, which includes DRBD v8.4.2. > For the moment, the userland tools have not been upgraded and are > still v8.3.13. > I such a com

Re: [DRBD-user] fence-peer helper broken, returned 20

2013-02-26 Thread Anoop
Hi, Dopd is running. Below error message got from Heartbeat logs. helper command: /sbin/drbdadm fence-peer minor-1 exit code 20 (0x1400) passive kernel: block drbd1: fence-peer helper broken, returned 20 Heartbeat Version - heartbeat 2.1.3 DRBD Version - drbd 8.3.13 Anoop Mohan On