Re: [DRBD-user] Compiling drbd-8.4.5

2014-08-07 Thread Roland Kammerer
On Wed, Aug 06, 2014 at 03:58:26PM +, Andreas Mock wrote: Hi all, just found out that there was a reorganisation in the source code structure of drbd-8.4.5 which means that the utils are in a seperate package. When I now untar the drbd-8.4.5.tar.gz I don't find a ./configure anymore,

Re: [DRBD-user] [PATCH 1/1] drbd: Deletion of an unnecessary check before the function call lc_destroy

2014-11-20 Thread Roland Kammerer
On Wed, Nov 19, 2014 at 01:43:34PM +0100, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 13:33:32 +0100 The lc_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed.

Re: [DRBD-user] How to pause and resume verify

2014-11-20 Thread Roland Kammerer
On Thu, Nov 20, 2014 at 07:01:08PM +0900, kad76oglz...@yahoo.co.jp wrote: Hi everybody Can drbd's verify pause and resume ? Please tell me how to pause and resume verify. Did you read the man-pages for drbdadm and especially drbdsetup? $ man drbdsetup and enter this to hit the

Re: [DRBD-user] fsck with drbd

2014-11-20 Thread Roland Kammerer
On Thu, Nov 20, 2014 at 09:10:14AM +0100, Lionel Sausin wrote: Le 19/11/2014 19:58, Dischino, Chris a écrit : Is it correct to issue an fsck on the drbd device instead of the backing device ? Do you see any issues with this. It's not only correct, it's the only right thing to do.

Re: [DRBD-user] [PATCH] drivers:block: Remove unneeded if statement below switch in drbd_nl.c

2014-12-01 Thread Roland Kammerer
On Sun, Nov 30, 2014 at 05:34:55PM -0500, Nicholas Krause wrote: [...] likely fixed by a newer version of the code written in the time since the comment was written. likely fixed... Which means it is completely untested, right? Signed-off-by: Nicholas Krause xerofo...@gmail.com hm, that

Re: [DRBD-user] Fix me in drbd_req.h

2014-12-08 Thread Roland Kammerer
On Sun, Dec 07, 2014 at 10:47:29PM -0500, nick wrote: Cheers, Nick Here we go again, Mr. Krause! No need to spare your last name, you are famous by now! [1]. Thanks for teaching us how to use git grep m( Please stop wasting our time. I am sure there are other projects that need your high

Re: [DRBD-user] Different sizes sync

2015-03-10 Thread Roland Kammerer
On Sun, Mar 08, 2015 at 10:53:43AM +0530, vinay garg wrote: Dear Team, I did a mistake. I was configuring drbd for two machines two machines are follows synca: 192.9.200.2 disk to use for drbd : /dev/mapper/vg_sync-LogVol02 (its a lvm ) size : 361 GB syncb: 192.9.200.3 disk

Re: [DRBD-user] Device name change 8.4.3 to 8.4.6?

2015-05-02 Thread Roland Kammerer
On Fri, May 01, 2015 at 02:00:08PM +0100, Charles Lyons - ConnetU wrote: This used to create a device: /dev/drbd0061 However, the device now created is: /dev/drbd61 without the leading 0s in the number, on the primary machine. This therefore breaks other associations which expect

Re: [DRBD-user] Device name change 8.4.3 to 8.4.6?

2015-05-04 Thread Roland Kammerer
On Sat, May 02, 2015 at 11:17:29PM +0100, Charles Lyons - ConnetU wrote: Resource name: This can be any arbitrary, US-ASCII name not containing whitespace by which the resource is referred to. DRBD device: This is a virtual block device managed by DRBD... The associated block device is

[DRBD-user] Vagrantfile + shell scripts for a 4 node DRBD9/drbdmanage cluster

2015-04-29 Thread Roland Kammerer
Hello List, this is collection of (hackish) scripts I used for some DRBD9/drbdmanage demos. No more excuses that a test-cluster is hard to setup! Go and destroy some clusters ;-). https://github.com/LINBIT/vagrant-cluster Regards, rck ___ drbd-user

Re: [DRBD-user] Is this configuration a bad idea?

2015-05-07 Thread Roland Kammerer
On Wed, May 06, 2015 at 08:15:52PM +0300, Dan Craciun wrote: Hi, I have 2 servers running about 10 OpenVZ containers and 4 KVM VMs, using Proxmox as a frontend. Both servers have 1TB hdds, mirrored using zfs. I'm considering adding high availability to this setup. My idea: configure

Re: [DRBD-user] Dual Primary Mode: Shared Directory blocked after node crash until reboot

2015-05-11 Thread Roland Kammerer
Dear DRBD User, _please_ stop sending html-only mails[1]. Regards, rck [1] http://linux.sgms-centre.com/misc/netiquette.php#nohtml ___ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user

Re: [DRBD-user] Add show-default to drbdsetup man page

2015-05-13 Thread Roland Kammerer
On Wed, May 13, 2015 at 12:53:52PM +, Georg Schönberger wrote: Hi! Would it be possible to add that option to the man page? *http://drbd.linbit.com/docs/man/ Hi Georg, I fixed the man page in our internal git repo. Should be online on the homepage soon. Regards, rck

Re: [DRBD-user] [Drbd-dev] cluster initialization with drbdmanage

2015-05-20 Thread Roland Kammerer
On Wed, May 20, 2015 at 06:23:07PM +0200, Dietmar Maurer wrote: I guess this is because it automatically open ssh to the new node, so this output is from the new node, but printed one the console of the old node. Can you see the problem? Yes. That might be confusing if you are not one

Re: [DRBD-user] [Drbd-dev] howto enable auto-promote

2015-05-20 Thread Roland Kammerer
On Wed, May 20, 2015 at 06:01:38PM +0200, Dietmar Maurer wrote: On May 20, 2015 at 2:48 PM Roland Kammerer roland.kamme...@linbit.com wrote: Oh, because you really really have to know if two primiaries are a good idea. Allowing multiple primaries is definitely nothing that should

Re: [DRBD-user] [Drbd-dev] cluster initialization with drbdmanage

2015-05-20 Thread Roland Kammerer
On Wed, May 20, 2015 at 05:38:43PM +0200, Dietmar Maurer wrote: So adding a node node X to cluster A, that was previously in cluster B and contains resources from the old cluster B. Right? If it would not have been part of some kind of cluster B, it would not have a control volume. add-node

Re: [DRBD-user] Need help on installing DRBD 9.0.0 RC

2015-06-08 Thread Roland Kammerer
- Original Message - From: Kimly Heler kimlyhe...@gmail.com To: drbd-user drbd-user@lists.linbit.com Sent: Sunday, June 7, 2015 1:42:26 AM Subject: [DRBD-user] Need help on installing DRBD 9.0.0 RC Hello, was anyone able to install any RC of 9.0.0? I have downloaded 9.0.0rc3 tar gz

Re: [DRBD-user] Programmatically Configure/Setup DRBD

2015-06-08 Thread Roland Kammerer
- Original Message - From: Marc Smith marc.sm...@mcc.edu To: drbd-user@lists.linbit.com Sent: Friday, June 5, 2015 9:16:01 PM Subject: [DRBD-user] Programmatically Configure/Setup DRBD Hi, I'd like to develop a tool/front-end to configuring and setting up DRBD (eg, get/set global DRBD

Re: [DRBD-user] drbdmanage v0.43 pre-release

2015-06-18 Thread Roland Kammerer
On Wed, Jun 17, 2015 at 04:53:03PM +0200, Dietmar Maurer wrote: Please try to swap the deploy and set options steps: ($rc, $res) = $hdl-set_drbdsetup_props( { target = resource, resource = $name, type = 'neto',

Re: [DRBD-user] incompatible allow-two-primaries settings

2015-06-18 Thread Roland Kammerer
On Thu, Jun 18, 2015 at 08:11:00AM +0200, Dietmar Maurer wrote: Using latest drbdmanage, I have a 3-node setup, but do auto-deploy with redundancy 2. I simply create a diskless assignment when I live migrate a VM to a node without assignment. [79782.240202] drbd vm-100-disk-1 hatest1:

Re: [DRBD-user] drbdmanage v0.43 pre-release

2015-06-17 Thread Roland Kammerer
On Wed, Jun 17, 2015 at 11:05:40AM +0200, Dietmar Maurer wrote: I have still problems with live migration. First, it works now if if set: # drbdmanage net-options --allow-two-primaries yes --common But I thought it would be better to do it directly on the resource, so I tried: #

Re: [DRBD-user] drbdmanage v0.43 pre-release

2015-06-17 Thread Roland Kammerer
On Wed, Jun 17, 2015 at 12:50:42PM +0200, Dietmar Maurer wrote: As far as I can tell set_drbdsetup_props() looks okay. The problem is that we are not able to reproduce your problem. In a drbdmanage environment[1] everything looks fine, both nodes are able to switch the resource to primary

Re: [DRBD-user] drbdmanage v0.42 pre-release

2015-06-15 Thread Roland Kammerer
On Mon, Jun 15, 2015 at 10:54:52PM +0200, Robert Altnoeder wrote: Dear DRBD9 drbdmanage testers, drbdmanage version 0.42 has just been released. Some of the improvements in this release are: - drbdsetup options support drbdmanage supports adding various options to the

Re: [DRBD-user] Any existing docs for installing DRBD 9 on EL7?

2015-06-30 Thread Roland Kammerer
On Mon, Jun 29, 2015 at 12:57:04PM -0400, Digimer wrote: Hi all, Is there any existing docs (even just rough notes) on installing DRBD 9 on EL7? Hi, we are currently working on it, I am not sure if we only release the final version or some intermediate/beta/pre guide... Regards, rck

Re: [DRBD-user] DKMS for drbd-9 fails

2015-06-30 Thread Roland Kammerer
On Tue, Jun 30, 2015 at 01:56:19PM +0200, Thomas Roth wrote: Hi all, I have just pulled git.drbd.org/drbd-9.0.git and created the Debian package for dkms. Works, but installing it aka compiling the module fails with make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'

Re: [DRBD-user] DRBD on Debian 8

2015-05-22 Thread Roland Kammerer
On Thu, May 21, 2015 at 05:27:21PM +0200, christ...@iway.ch wrote: And now: cd /tmp/DRBD/drbd-utils touch ../bla # just for write permission checking... debuild -i -us -uc -b This then really fails? If so, please paste the log again and I will try to reproduce it in a clean VM.

Re: [DRBD-user] DRBD on Debian 8

2015-05-21 Thread Roland Kammerer
On Thu, May 21, 2015 at 01:21:05PM +0200, christ...@iway.ch wrote: playing around with debian8 recently, we discovered that it's not possible to build the source packages anymore - to be more precise the drbd-utils is this a know problem? btw. last lines of output (from command:

Re: [DRBD-user] DRBD on Debian 8

2015-05-21 Thread Roland Kammerer
On Thu, May 21, 2015 at 04:44:32PM +0200, christ...@iway.ch wrote: Okay, lets leave the Debian specific stuff aside for a moment. Does building the utils itself work? That would be: git clone git://git.linbit.com/drbd-utils.git cd drbd-utils ./autogen.sh ./configure --prefix=/usr

Re: [DRBD-user] Trying to Build a DRBD RPM package

2015-08-13 Thread Roland Kammerer
On Wed, Aug 12, 2015 at 10:43:27AM -0700, Jerome Yanga wrote: Thank you for the assist. I was able to successfully create the RPMs and continue further with my testing. I attempted to do the same with drbd-9.0.0 but I am getting the error below. /var/tmp/rpm-tmp.e8PZo7: line 38:

Re: [DRBD-user] DKMS for drbd-9 fails

2015-06-30 Thread Roland Kammerer
On Tue, Jun 30, 2015 at 04:50:06PM +0200, Thomas Roth wrote: O.k, thanks, the submodules were definitely missing. Because now I got a new error. debuild gave me drbd-dkms_9.0.0-1_all.deb (the added version number shouldn't really matter). Installing this package results in ...

Re: [DRBD-user] [BUG] errors in Debian packaging of drbd module

2015-08-06 Thread Roland Kammerer
On Wed, Aug 05, 2015 at 03:34:49PM +0100, Matthew Vernon wrote: Hi, I needed to build the drbd 8.4.6 kernel module for my Debian stable (jessie) boxes. As a result of which, I found 2 bugs: 1) the built drbd module package ends up depending on drbd8-utils, which is now incorrect - that

Re: [DRBD-user] Trying to Build a DRBD RPM package

2015-08-12 Thread Roland Kammerer
On Tue, Aug 11, 2015 at 10:37:19AM -0700, Jerome Yanga wrote: Hi, I have been trying to build the DRBD RPM package but ./configure script seems to be missing. I even tried both the tarball and cloning the git repo but both didn't have it. Hi, it is not missing, there is none. As you

Re: [DRBD-user] Xenserver and drbdmanage

2015-07-17 Thread Roland Kammerer
On Fri, Jul 17, 2015 at 12:04:54PM +0200, karmouta yvan wrote: Hi all, I try drbd9 and drbdmanage on Xenserver 6.5 I successfuly Compile and install drbd9 module. But for the drbdmanage, Xenserver 6.5 use python2.4 so don't have Context manager for understand command like with . What is the

Re: [DRBD-user] drbd9 with kernel 4.2.5 - compile fails

2015-10-29 Thread Roland Kammerer
On Wed, Oct 28, 2015 at 04:59:21PM +0100, Lee Lists wrote: > Hi, > > I'm trying to build drbd-9.0 on debian 8.1 / kernel-4.2.5 vanilla Which version of drbd9? git head? Or the "drbd-9.0.0" tag from git? Or the latest tar-ball? Regards, rck ___

Re: [DRBD-user] drbd9 with kernel 4.2.5 - compile fails

2015-10-29 Thread Roland Kammerer
On Thu, Oct 29, 2015 at 09:51:38AM +0100, Lee Lists wrote: > Hi Roland, > > Yes, i'm using git-head and found the problem, I just missed a git > submodule update :-( Hehe, a classic one. Don't worry, this even happens to us developers from time to time ;-). Regards, rck

Re: [DRBD-user] Upgrading from 8.4.4 to 9.0.x

2015-11-09 Thread Roland Kammerer
On Mon, Nov 09, 2015 at 03:50:06PM +0100, raulhp wrote: > Hi everybody, > > I´m using DRBD 8.4.4 version on CentOS 6.5 and I want to upgrade it to 9.0.x > version. How I can obtain the variable that is described in > http://drbd.linbit.com/users-guide-9.0/s-upgrading-drbd.html 5.7.2.1 > section?

Re: [DRBD-user] Token too long error during DRBD setup

2015-11-16 Thread Roland Kammerer
On Sat, Nov 14, 2015 at 11:59:35AM -0300, Adrian Tassone wrote: > Hello, > The problem is that my storage full path has 101 characters and I get this > error. Hi, as Philipp said, double-quotes should fix your problem. I also increased the max length to values found in lvm-string.h and

Re: [DRBD-user] Bug? GI UUIDs differ by 1

2015-11-02 Thread Roland Kammerer
On Mon, Nov 02, 2015 at 01:00:03PM +0100, Veit Wahlich wrote: > Hi, > > I am observing a quite strage behaviour: > > The generation identifier UUIDs on my nodes differ although the volumes > are connected and reported in-sync (in fact they are really in-sync, I > ran a verify). > > Regarding to

Re: [DRBD-user] Ubuntu 14.04 kernel now has drbd 8.4.5 but drbd-utils is still 8.4.4 so drbdadm wait-connect fails on netlink

2015-10-09 Thread Roland Kammerer
On Thu, Oct 08, 2015 at 06:44:04PM +0200, jacob.van.der.meu...@esa.int wrote: > So I downloaded the version > 8.9.4 and built it. As I do not want to get too much unknown changes to my > Ubuntu configuration I just copied the drbdadm-84 and drbdsetup-84 to /sbin > and replaced the /sbin/drbdadm

Re: [DRBD-user] problems with drbdmanage v0.50

2015-10-06 Thread Roland Kammerer
On Tue, Oct 06, 2015 at 10:00:37AM +0200, Dietmar Maurer wrote: > I use a single node to test basic operations: > > # drbdadm dump test1 > /var/lib/drbd.d/drbdmanage_test1.res:1: in resource test1: > a host sections ('on elsa { ... }') is missing. > > # cat

Re: [DRBD-user] problems with drbdmanage v0.50

2015-10-06 Thread Roland Kammerer
On Tue, Oct 06, 2015 at 10:34:05AM +0200, Roland Kammerer wrote: > On Tue, Oct 06, 2015 at 10:00:37AM +0200, Dietmar Maurer wrote: > > I use a single node to test basic operations: > > > > # drbdadm dump test1 > > /var/lib/drbd.d/drbdmanage_test1.res:1: in resource tes

Re: [DRBD-user] missing man page drbdmanage.cfg(8)

2015-10-06 Thread Roland Kammerer
On Tue, Oct 06, 2015 at 11:02:02AM +0200, Dietmar Maurer wrote: > # drbdmanage cat-config > ... > # For further information please refere to drbdmanage.cfg(8) > > but I am unable to find that man page? Hi Dietmar, Yes, that man page currently does not exist, it will exist for 1.0, and I kept

Re: [DRBD-user] DRBD+GFS2+Pacemaker+Corosync without CMAN

2015-09-03 Thread Roland Kammerer
On Thu, Sep 03, 2015 at 02:21:37AM -0400, Digimer wrote: > Oh, you said Debian Jessie... > > HA in general is broken on Jessie and, for now, Debian is not > recommended for HA. See: > > https://wiki.debian.org/Debian-HA/FAQ > > RHEL and SUSE are the best platforms at this time. Both have

Re: [DRBD-user] Questions regarding the initial syncing of a drbd partition

2015-09-11 Thread Roland Kammerer
On Fri, Sep 11, 2015 at 03:09:21PM +0200, Lars Ellenberg wrote: > On Thu, Sep 10, 2015 at 02:21:02PM +0200, Joerg May wrote: > > > Would e.g. checksum-based syncing help to identify faster the free > > blocks and skip them for syncing ? > > No. IFF: - the rest (see later) of the source

Re: [DRBD-user] drbdmange: howto configure default plugin in v0.49

2015-09-12 Thread Roland Kammerer
On Sat, Sep 12, 2015 at 01:43:30PM +0200, Roland Kammerer wrote: > On Sat, Sep 12, 2015 at 12:31:54PM +0200, Dietmar Maurer wrote: > > { >'nodes': [{'storage-plugin': 'drbdmanage.storage.lvm_thinlv.LvmThinLV', > 'name': 'YOURNODENAME'}], >'globals': [{}

Re: [DRBD-user] drbdmange: howto configure default plugin in v0.49

2015-09-12 Thread Roland Kammerer
On Sat, Sep 12, 2015 at 02:23:32PM +0200, Dietmar Maurer wrote: > > There is no best place other than storing this kind of information > > cluster wide. Again, for you as developer, and only if the default > > configuration does not fit you needs (e.g., non-default storage plugin), > > it is a

Re: [DRBD-user] drbdmange: howto configure default plugin in v0.49

2015-09-12 Thread Roland Kammerer
On Sat, Sep 12, 2015 at 12:31:54PM +0200, Dietmar Maurer wrote: > Hi all, > > I am a bit confused about this change: > > http://git.linbit.com/gitweb.cgi?p=drbdmanage.git;a=commitdiff;h=49f4bb7285c5b02166a607d43fec0ba6b377360b > > We previously used the following patch: > > Index:

Re: [DRBD-user] drbdmange: howto configure default plugin in v0.49

2015-09-12 Thread Roland Kammerer
On Sat, Sep 12, 2015 at 02:01:52PM +0200, Dietmar Maurer wrote: > > In your case you should make use of the new 'set_cluster_config' API > > call which takes a dictionary as its input. If you just want to set a > > new storage plugin (but do not want to configure the plugin itself, > > because the

Re: [DRBD-user] drbdmange: howto configure default plugin in v0.49

2015-09-12 Thread Roland Kammerer
On Sat, Sep 12, 2015 at 02:05:18PM +0200, Dietmar Maurer wrote: > > As you can see, 'nodes' is a list of dictionaries, so you can set up all > > your nodes with one API call. > > What happens to nodes that join later? They start with the default configuration. If you want to set it for all

Re: [DRBD-user] drbd-utils-8.9.4.tar.gz

2015-09-22 Thread Roland Kammerer
On Tue, Sep 22, 2015 at 09:17:38AM +0200, Dietmar Maurer wrote: > > There is something wrong - man pages are not built by default: > > > > git clone --recursive git://git.drbd.org/drbd-utils > > cd drbd-utils > > ./autogen.sh > > ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc >

Re: [DRBD-user] drbd-utils-8.9.4.tar.gz

2015-09-22 Thread Roland Kammerer
On Tue, Sep 22, 2015 at 09:32:33AM +0200, Roland Kammerer wrote: > On Tue, Sep 22, 2015 at 09:17:38AM +0200, Dietmar Maurer wrote: > > > There is something wrong - man pages are not built by default: > > > > > > git clone --recursive git://git.drbd.org/

Re: [DRBD-user] [PATCH] drivers: block: drbd: remove unused macros

2015-12-27 Thread Roland Kammerer
On Sun, Dec 27, 2015 at 09:18:09PM +0700, Ivan Safonov wrote: > div_ceil and div_floor macros duplicates round_up and round_down from kernel.h > > Signed-off-by: Ivan Safonov > --- > drivers/block/drbd/drbd_int.h | 5 - > 1 file changed, 5 deletions(-) > > diff --git

Re: [DRBD-user] 3 node setup problem

2016-06-08 Thread Roland Kammerer
On Wed, Jun 08, 2016 at 04:50:03PM +0200, Michele Rossetti wrote: > At 10:36 +0200 08.06.2016, Roland Kammerer wrote: > > > >Using a switch is definitely the better idea. If possible, do it like > >that. > > > >Otherwise, what I wrote stands: If yo

Re: [DRBD-user] 3 node setup problem

2016-06-09 Thread Roland Kammerer
On Wed, Jun 08, 2016 at 06:39:38PM +0200, Michele Rossetti wrote: > At 17:31 +0200 08.06.2016, Roland Kammerer wrote: > > > >I don't know what you mean. Restore after what? What happened in your > >scenario that you want to restore something

Re: [DRBD-user] 3 node setup problem

2016-06-08 Thread Roland Kammerer
On Wed, Jun 08, 2016 at 02:44:56PM +0200, Robert Altnoeder wrote: > I don't know which thread you've been reading, but noone in this one had > been talking about D-Bus. Don't feed the trolls. He will be happy with Ceph. Or gluing a floppy disk on top of a snail shell and let the snail run to the

Re: [DRBD-user] Building an rpm package for DRBD 9.0 on RHEL 7.2

2016-06-07 Thread Roland Kammerer
Hi, Please don't hijack another thread, start a new one. What did you actually do? What failed? How did it fail? To my best knowledge "make kmp-rpm" should work. Regards, rck ___ drbd-user mailing list drbd-user@lists.linbit.com

Re: [DRBD-user] Problem building RPM package

2016-06-08 Thread Roland Kammerer
On Tue, Jun 07, 2016 at 04:01:28PM +0100, John Colgrave wrote: > Sorry, I did not realise I had hijacked the other thread, I could not see > any remnant of it. > > This is in my clone of the git repository git://git.drbd.org/drbd-9.0.git > > I have run: > make > make install > and they both

Re: [DRBD-user] 3 node setup problem

2016-06-08 Thread Roland Kammerer
On Tue, Jun 07, 2016 at 10:09:51PM +0200, Michele Rossetti wrote: > Thanks, Roland, > > but it seems impossible to configure with drbdmanage a complete mesh > configuration with 2 interfaces (cross patch) for each node. > Here below the mails with Petra Trunner that confirmed me the manual config

Re: [DRBD-user] Problems getting Satellite node working (debian testing)

2016-06-08 Thread Roland Kammerer
On Wed, Jun 08, 2016 at 10:12:06PM +1000, Adam Goryachev wrote: > > > On 8/06/2016 18:01, Roland Kammerer wrote: > >On Wed, Jun 08, 2016 at 01:14:07PM +1000, Adam Goryachev wrote: > >> From my previous thread which started talking about problems compiling the > >>

Re: [DRBD-user] 3 node setup problem

2016-06-07 Thread Roland Kammerer
On Tue, Jun 07, 2016 at 01:22:03PM +0200, Michele Rossetti wrote: > Hi all, > Here below the drbdctrl.res, manually configurated regarding connections: No. You are not supposed to touch any resource files drbdmanage generates, especially not the one it uses for its cluster database (aka the

Re: [DRBD-user] Problems compiling kernel module

2016-06-06 Thread Roland Kammerer
On Mon, Jun 06, 2016 at 09:24:00PM +1000, Adam Goryachev wrote: > Still looks like the same problem, starting from a completely clean Hi, sorry, it also requires a change in the main repo which was not pushed public yet. git clone --recursive git://git.linbit.com/drbd-9.0.git cd drbd-9.0/ make

Re: [DRBD-user] Problems compiling kernel module

2016-06-07 Thread Roland Kammerer
On Tue, Jun 07, 2016 at 11:53:04PM +1000, Adam Goryachev wrote: > Thanks so much, that now works, and so I reach the next problem, Which should be in a new thread because it has nothing to do with what the subject says or the thread was about. maaan :-/ > it seems my satellite node can't

Re: [DRBD-user] Proxmox 4.2 DRBD0 rsync-rate?

2016-06-10 Thread Roland Kammerer
On Thu, Jun 09, 2016 at 10:08:39PM -0500, Jason Romo wrote: > I am using proxmox 4.2 with DRBD9. All is working now. Trying to tune the > rate for bonded 2x 10Gbe network. I have added the options to > global_common.conf > > disk { > c-plan-ahead 0; > c-fill-target

Re: [DRBD-user] Problems compiling kernel module

2016-06-03 Thread Roland Kammerer
On Fri, Jun 03, 2016 at 09:05:23AM +1000, Adam Goryachev wrote: > On 02/06/16 23:44, Roland Kammerer wrote: > >On Thu, Jun 02, 2016 at 11:02:34PM +1000, Adam Goryachev wrote: > >>I'm trying to use debian testing and install drbd9. > >> > >>Using the packag

Re: [DRBD-user] DRBD 9 Peack CPU load

2016-05-30 Thread Roland Kammerer
On Mon, May 30, 2016 at 09:36:20PM +1000, Igor Cicimov wrote: > On Tue, May 17, 2016 at 8:21 AM, Mats Ramnefors wrote: > > > BTW when can we expect a DRBD resource agent for v9? It took me a while to > > figure out why DRBD9 was not working with Pacemaker and then finding a >

Re: [DRBD-user] Problems compiling kernel module

2016-06-02 Thread Roland Kammerer
On Thu, Jun 02, 2016 at 11:02:34PM +1000, Adam Goryachev wrote: > I'm trying to use debian testing and install drbd9. > > Using the packages from > http://ppa.launchpad.net/linbit/linbit-drbd9-stack/ubuntu/pool/main/d/, > specifically the xenial packages: > error: redefinition of ‘struct

Re: [DRBD-user] Multi-tiering with drbdmanage ?

2016-01-19 Thread Roland Kammerer
On Tue, Jan 19, 2016 at 10:43:11AM +0100, Julien Escario wrote: > If not possible now, is it a planned feature ? Not possible now, but on the roadmap (for > 1.0.0). 1.0.0 should be out soon. Regards, rck ___ drbd-user mailing list

Re: [DRBD-user] Help: Replace Failed disk

2016-02-07 Thread Roland Kammerer
On Sun, Feb 07, 2016 at 10:16:32AM +0200, AALISHE wrote: > Cloud you please guide me to replace the disk properly .. and have > Uptodate/Uptodate back again on both ends https://drbd.linbit.com/users-guide/ch-troubleshooting.html#s-hard-drive-failure Regards, rck

Re: [DRBD-user] drbd-9.0.1 & drbd-utils-8.9.6

2016-02-05 Thread Roland Kammerer
On Thu, Feb 04, 2016 at 09:33:38PM +, Phil Daws wrote: > Thank you Roland, am getting closer now: > > rpmbuild -ba drbd-kernel.spec > error: line 52: Illegal char '-' in: Version: 9.0.1_3.10.0-327.4.5.el7.x86_64 deep-nested rpm craziness... - get a tarball (or generate a release tarball

Re: [DRBD-user] drbd-9.0.1 & drbd-utils-8.9.6

2016-02-04 Thread Roland Kammerer
On Thu, Feb 04, 2016 at 07:43:35PM +, Phil Daws wrote: > Hello: > > have just downloaded to my build machine and when running rpmbuild -ba > drbd-km.spec am receiving: Neither the git repo nor the tarball contain a file called "drbd-km.spec". Leftover from an ancient clone?

Re: [DRBD-user] drbd-9 wont compile against linux kernel 4.4

2016-02-01 Thread Roland Kammerer
On Tue, Jan 19, 2016 at 10:28:21PM +0100, Oliver Rath wrote: > Hi list, > > drbd-9 (git) wont compile against 4.4. http://git.linbit.com/drbd-9.0.git/commit/391a4b5f5d9414d02a41e10b8311cf02ac3ccd44 Please make also sure to update git submodules (git submodule update --remote), and report any

Re: [DRBD-user] Performance issue about DRBD transport

2016-02-26 Thread Roland Kammerer
On Fri, Feb 26, 2016 at 09:38:05AM +0800, Mark Wu wrote: > Please note the "DRBD8 Local" is tested with a tuned configuration while > all DRBD9 tests are tested with the configurations generated by drbdmanage. Then start by making the setups as equivalent as possible... You can set all the

Re: [DRBD-user] Performance issue about DRBD transport

2016-02-26 Thread Roland Kammerer
On Fri, Feb 26, 2016 at 07:56:56PM +0800, Mark Wu wrote: > Roland, > > The following disk options can't be applied via drbdmanage. They can. > So how to apply those options with drbdmanage? > c-plan-ahead 10; This is for example a peer-device option: drbdmanage peer-device-options -h See

Re: [DRBD-user] drbdmanage : error in reporting free space with thin-lvm ?

2016-01-23 Thread Roland Kammerer
On Fri, Jan 22, 2016 at 07:48:25PM +0100, Julien Escario wrote: > Seems I found a anwser : I was using drbdmanage 0.91 with a thin lv but this > version is using drbdmanage.storage.lvm.Lvm as default plugin. > > I'm now wondering how I can change the default plugin BEFORE initializing the >

Re: [DRBD-user] Can't grow my DRBD device

2016-01-22 Thread Roland Kammerer
On Fri, Jan 22, 2016 at 09:59:23AM -0500, Pascal Robert wrote: > Hi, > > I’m running DRBD on both of a LVM volume. Disk space was lacking, so I > added a (virtual) disk, grow the LVM but calling « drbdadmin resize > mysqldata » don’t do anything. And yes, the LVM was augmented on both > nodes.

Re: [DRBD-user] Can't grow my DRBD device

2016-01-23 Thread Roland Kammerer
On Sat, Jan 23, 2016 at 01:20:46PM +0100, Jakob Curdes wrote: > I just did the same; the new size was visible only after doing > > drbdadm -- --assume-clean|-assume-peer-has-space |resize > > (The first option tells drbd not to resync the fresh space to the peer; I > also needed the second

Re: [DRBD-user] DRBD9 drbdadm complains about fencing being in wrong section

2016-02-17 Thread Roland Kammerer
On Wed, Feb 17, 2016 at 04:20:12PM +1100, Igor Cicimov wrote: > Hi, > > I'm testing 9.0.1.1 installed from git and have a resource with fencing in > the disk section: > > disk { > on-io-error detach; > fencing resource-and-stonith; > } It belongs to net{}, and yes, the

Re: [DRBD-user] DRBD9 drbdadm complains about fencing being in wrong section

2016-02-18 Thread Roland Kammerer
On Thu, Feb 18, 2016 at 10:37:58AM +1100, Igor Cicimov wrote: > On Wed, Feb 17, 2016 at 8:18 PM, Roland Kammerer <roland.kamme...@linbit.com > > wrote: > > > On Wed, Feb 17, 2016 at 04:20:12PM +1100, Igor Cicimov wrote: > > > Hi, > > > > > >

Re: [DRBD-user] DRBD9 drbdadm complains about fencing being in wrong section

2016-02-18 Thread Roland Kammerer
On Thu, Feb 18, 2016 at 10:01:02PM +1100, Adam Goryachev wrote: > While this really is very simple, and it looks awesome, the issue is that > most people will have existing data in existing drbd storage backed by > physical block devices. How do you propose this existing data can be moved? > >

[DRBD-user] drbdmanage v0.94 (and post 1.0.0 info)

2016-03-25 Thread Roland Kammerer
election of diskless nodes for snapshot creation * Ignore non-existent backend storage when undeploying volumes * Fix server shutdown in cmd_uninit() [ Roland Kammerer ] * storage plugins: fixed STATEFILE in error path * add hint for admin to not edit generated res files * server: f

Re: [DRBD-user] grsecurity catching overflows

2016-03-02 Thread Roland Kammerer
On Tue, Mar 01, 2016 at 03:29:24PM +, Mike Williams wrote: > Hey All, > > After a recent kernel update grsec started catching a size overflow in > __disk_conf_from_attrs. > Preventing DRBD from even starting. > > Full details, and a fix provided by PaX Team, here; >

Re: [DRBD-user] DRBD9 Satellite nodes

2016-04-22 Thread Roland Kammerer
On Fri, Apr 22, 2016 at 01:40:39AM +1000, Adam Goryachev wrote: > Hi, > > Thanks for the quick response. That is really my question though. I have a > DRBD Client, ie, no local storage, receiving the drbdmanage control volume > via tcp/ip, but how do I mount the DRBD volume? eg, on the node which

Re: [DRBD-user] DRBD9 Satellite nodes

2016-04-21 Thread Roland Kammerer
On Thu, Apr 21, 2016 at 05:41:40PM +0200, Dietmar Maurer wrote: > > - it accesses the drbdmanage control volume, which is a drbd resource > > itself, and where the cluster information is stored, via TCP/IP. The > > reason satellites exist is that currently a drbd volume is limited to > > 32

Re: [DRBD-user] Problems upgrading drbdmanage

2016-04-29 Thread Roland Kammerer
On Fri, Apr 29, 2016 at 09:21:17AM +1000, Adam Goryachev wrote: > When upgrading from python-drbdmanage 0.94-1 to 0.95-1 using the packages > available at: > http://oss.linbit.com/drbdmanage/packages/drbdmanage-0.95/debian-jessie/ > > The following is the output: > dpkg -i

Re: [DRBD-user] Problems upgrading drbdmanage

2016-04-29 Thread Roland Kammerer
On Fri, Apr 29, 2016 at 09:36:12PM +1000, Adam Goryachev wrote: > > > On 29/04/2016 18:40, Roland Kammerer wrote: > >On Fri, Apr 29, 2016 at 09:21:17AM +1000, Adam Goryachev wrote: > >>When upgrading from python-drbdmanage 0.94-1 to 0.95-1 using the packages &g

Re: [DRBD-user] drbdmanage, lvm thinlv, wrong free pool space calculation

2016-05-19 Thread Roland Kammerer
On Thu, May 19, 2016 at 12:48:00PM +0200, Roberto Resoli wrote: > Il 12/05/2016 17:58, Gaudenz Steinlin ha scritto: > > > > Hi > > Hi > > > I ran into the same problem someone > > else previously reported here today: > > http://lists.linbit.com/pipermail/drbd-user/2016-May/022909.html > >

Re: [DRBD-user] DRBD9 - removed node still in config

2016-05-02 Thread Roland Kammerer
On Sun, May 01, 2016 at 08:31:11PM +0200, Ml Ml wrote: > Hello, > > i removed it with drbdmanage remove-node node02 --force > > But drbdadm dump still shows node02 in the mesh network :-( > > connection-mesh { > hosts node03 node01; > net { > protocol C; >

Re: [DRBD-user] Problems upgrading drbdmanage

2016-05-10 Thread Roland Kammerer
On Mon, May 02, 2016 at 09:57:04PM +1000, Adam Goryachev wrote: > On 29/04/2016 23:37, Roland Kammerer wrote: > >Hm, should not happen, but I will check that in a clean environment. > >Just to be sure about the test case: > >- installed 0.94 > >- played around wi

Re: [DRBD-user] drbd.service execute permissions

2016-05-10 Thread Roland Kammerer
On Tue, May 03, 2016 at 10:59:07AM +0300, Roman Tereshonkov wrote: > Hi, > > Is there any reason to use execute permissions when installing drbd.service? > drbd-utils.git: scripts/Makefile.in > ... > install -m 755 drbd.service ... > ... No, probably a copy & paste thing from previous times

Re: [DRBD-user] Problems upgrading drbdmanage

2016-05-02 Thread Roland Kammerer
On Mon, May 02, 2016 at 09:57:04PM +1000, Adam Goryachev wrote: > Yes, I don't really know anything about systemd, except it is default on > newer debian, and adds yet another thing I will need to learn about, instead > of the older and simpler scripts + symlinks > > So, I've definitely not

Re: [DRBD-user] cluster starts too long

2016-04-19 Thread Roland Kammerer
On Tue, Apr 19, 2016 at 01:43:43PM +0300, Anton Dmitrenok wrote: > Hi,fo/drbd-user Hi, please _do_ _not_ write html only mails to this list, at least don't do it if you want me to read your mails. It is normal that nodes see each other offline for a short period of time. For example it takes

Re: [DRBD-user] Documentation error/bug

2016-04-14 Thread Roland Kammerer
On Thu, Apr 14, 2016 at 04:08:34PM +1000, Adam Goryachev wrote: > Hi, > > Just noticed this probably error: > http://www.drbd.org/en/doc/users-guide-90/s-dm-rebalance > > # drbdmanage unassign > > I'm assuming that should say: > > # drbdmanage unassign > > Perhaps someone could confirm

[DRBD-user] drbdmanage v0.95

2016-04-21 Thread Roland Kammerer
tion in OpenNebula and is the main reason for this release. Changes since v0.94 [ Roland Kammerer ] * build: add distclean target [ Robert Altnoeder ] * user_confirm(): Case-insensitive interpretation of user input * deploy command: added --with-clients parameter * auto_deploy(): fixed missing save for

Re: [DRBD-user] DRBD Manual errors

2016-04-21 Thread Roland Kammerer
On Thu, Apr 21, 2016 at 10:01:12PM +1000, Adam Goryachev wrote: > Hi, > > I've found another issue with (my system or) the DRBD docs: > http://www.drbd.org/en/doc/users-guide-90/s-check-status > > >You can get more information by passing the |--verbose| and/or > >|--statistics| arguments: > > >

Re: [DRBD-user] DRBD9 Satellite nodes

2016-04-21 Thread Roland Kammerer
On Thu, Apr 21, 2016 at 11:54:05PM +1000, Adam Goryachev wrote: > Hi, > > I've setup a few DRBD9 machines as a storage cluster with 4 nodes, plus one > "satellite" node. > > I was wondering how I can access the content on the various DRBD volumes > from the rest of the cluster? That has nothing

Re: [DRBD-user] DRBD Manual errors

2016-04-21 Thread Roland Kammerer
On Thu, Apr 21, 2016 at 11:38:23PM +1000, Adam Goryachev wrote: > Is there some reason that there are so many tools used to manage the same > thing? These tools have dedicated jobs, there is no "same thing", if "the thing" is something a bit more fine grained than "drbd". drbdsetup is the most

Re: [DRBD-user] DRBD9 Satellite nodes

2016-04-21 Thread Roland Kammerer
On Fri, Apr 22, 2016 at 12:41:59AM +1000, Adam Goryachev wrote: > > > On 22/04/2016 00:20, Roland Kammerer wrote: > >On Thu, Apr 21, 2016 at 11:54:05PM +1000, Adam Goryachev wrote: > >>Hi, > >> > >>I've setup a few DRBD9 machines as a storage cluster w

Re: [DRBD-user] Setting up using drbdmanage?

2016-08-04 Thread Roland Kammerer
On Wed, Aug 03, 2016 at 09:10:09AM -0400, norman wrote: > Hello. > > Everything goes fine until it comes to actually syncing the 2 nodes. The > control volumes are there and working on both nodews but for some reason the > other volume will not sync. How exactly did you create them? Did you

Re: [DRBD-user] Setting up using drbdmanage?

2016-08-04 Thread Roland Kammerer
Hi, please no private mails, answer to the list. On Thu, Aug 04, 2016 at 08:50:32AM -0400, norman wrote: > Hello. > > Thanks for your reply, it confirms some of what i was already thinking. > > Yes, I had assigned the resource to the specified nodes. Here is the output > of "drbdmanage

Re: [DRBD-user] Drbd9 errors and warning mismatches

2016-07-21 Thread Roland Kammerer
On Tue, Jul 19, 2016 at 11:10:58AM +0200, Emmanuel Kasper wrote: > > First when creating a new ressource and using this ressource I always > get the message on the system console about a failed state change. > > My ressources are properly synced on each node, but the warning is a bit > scary.

  1   2   3   4   5   6   7   >