Re: [DRBD-user] DRDB on one host

2014-05-14 Thread Dan Barker
From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Csanad Novak Sent: Tuesday, May 13, 2014 5:47 PM To: Arnold Krille; drbd-user@lists.linbit.com Subject: Re: [DRBD-user] DRDB on one host Hi Arnold, I guess the challenge here is that the instance-

[DRBD-user] Vote for Protocol P!

2014-04-29 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com > [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Lars Ellenberg > Sent: Saturday, April 26, 2014 7:06 AM > To: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Replication for disaster recovery > You could

Re: [DRBD-user] Single versus multiple DRBD devices

2014-04-19 Thread Dan Barker
> -Original Message- > From: Bart Coninckx [mailto:bart.conin...@telenet.be] > Sent: Friday, April 18, 2014 2:55 PM > To: Dan Barker > Cc: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Single versus multiple DRBD devices > > > On 31 Mar 2014,

Re: [DRBD-user] Single versus multiple DRBD devices

2014-03-31 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Bart Coninckx > Sent: Monday, March 31, 2014 6:51 AM > To: Arnold Krille > Cc: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Single versus multiple DRBD device

Re: [DRBD-user] Considerations for using bcache on top of DRBD

2014-02-19 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Andrew Martin > Sent: Tuesday, February 18, 2014 2:14 PM > To: Berto Bermudez > Cc: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Considerations for using bcac

Re: [DRBD-user] drbd Input/output error

2014-02-16 Thread Dan Barker
LVM grabbed the device before DRBD got to it. If you have VGs on drbd resources, you need a filter so the raw device doesn't get mounted at boot time. It works before laying down the VG, because at boot the VG doesn't exist. After you have configured logical volumes on the drbd resource, on the

Re: [DRBD-user] drbd Input/output error

2014-02-15 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Piotr Kloc > Sent: Friday, February 14, 2014 7:49 PM > To: drbd-user@lists.linbit.com > Subject: [DRBD-user] drbd Input/output error > > Hello ! > I have problem with

Re: [DRBD-user] drbd not working with high mtu?

2014-02-01 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Harka Gyozo SA > Sent: Saturday, February 01, 2014 1:32 AM > To: drbd-user@lists.linbit.com > Subject: [DRBD-user] drbd not working with high mtu? > > Hi! > > Anyone

Re: [DRBD-user] Antwort: Re: proto c - corrupt files - directories missing

2014-01-22 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Bauer, Stefan (IZLBW Extern) > Sent: Wednesday, January 22, 2014 10:11 AM > To: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Antwort: Re: proto c - corrupt

Re: [DRBD-user] Antwort: Re: proto c - corrupt files - directories missing

2014-01-22 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of robert.koe...@knapp.com > Sent: Wednesday, January 22, 2014 3:52 AM > To: drbd-user@lists.linbit.com > Subject: [DRBD-user] Antwort: Re: proto c - corrupt files - dire

Re: [DRBD-user] High IOwait with rsync on DRBD-OCFS2-NFS node

2014-01-04 Thread Dan Barker
> 1/4/2014 9:17 PM, Dan Barker пишет: > >> -Original Message- > >> From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > >> boun...@lists.linbit.com] On Behalf Of Vasily S. Kostroma > >> Sent: Friday, January 03, 2014 7:05 PM > >> To

Re: [DRBD-user] High IOwait with rsync on DRBD-OCFS2-NFS node

2014-01-04 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Vasily S. Kostroma > Sent: Friday, January 03, 2014 7:05 PM > To: drbd-user@lists.linbit.com > Subject: [DRBD-user] High IOwait with rsync on DRBD-OCFS2-NFS node > >

Re: [DRBD-user] proto c - corrupt files - directories missing

2013-12-11 Thread Dan Barker
Please confirm that on both machines, when each is primary, you have mounted: mount /dev/drbd0 /drbd and not mount /dev/sdb1 /drbd Dan in Atlanta (the Top Poster) From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Bauer, Stefan (IZLBW Extern)

Re: [DRBD-user] data mismatch when primary/secondary are both up2date

2013-11-29 Thread Dan Barker
> > In my cluster(node1/node2) with drbd, the state in /proc/drbd is   > primary/secondary up2date/up2date, but when I change primary to node2 , the > file that existed on node1 can not be found on node2. Then I do "drbdadm verify drbd0" to verify and resync the data,  node2's data returned to b

Re: [DRBD-user] Fwd: how to place secondary node in maintenance mode

2013-09-24 Thread Dan Barker
Wow! Those are some old versions! Just “drbdadm disconnect all” on the Primary node before the maintenance and “drbdadm connect all” afterwards. All else is magic! Dan From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Gabriel Sosa Sent: Tuesday,

Re: [DRBD-user] Unable to sync new machine

2013-09-15 Thread Dan Barker
dmesg should show why earth won't stay WFC. The "cat /proc/drbd" just shows the state, it doesn't show the why. vulcan won't connect because earth is not WFC. Dan From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Hans Lammerts Sent: Saturday, Sept

Re: [DRBD-user] generation identifiers

2013-09-08 Thread Dan Barker
See below: >>> From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of FDS | Forensik Data Services Sent: Friday, September 06, 2013 9:06 AM To: drbd-user@lists.linbit.com Subject: [DRBD-user] generation identifiers Hi there, I am involved in the after

Re: [DRBD-user] csums-alg seems not working on my cluster....

2013-09-05 Thread Dan Barker
That's a very difficult way to go about setting up internal metadata. Normally, just we create the metadata on the raw device (/dev/sdb) and then create the filesystem on the drbd device (/dev/sql_data1). No math! You did not appear to specify a syncer rate. I thought the default was much highe

Re: [DRBD-user] DRDB over Software RAID1 - Failure: (104) Can not open backing device

2013-08-26 Thread Dan Barker
DRBD can't use /dev/md4 because it's in use. It has a mounted filesystem using the entire device. You have your resource stack out of order. You would share the drbd device created from the md4 device. However, /dev/md4 already has a file system so you must shrink it or use external metadata. I

Re: [DRBD-user] Sync of Nodes

2013-08-19 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Walter Robert Ditzler > Sent: Monday, August 19, 2013 5:44 AM > To: drbd-user@lists.linbit.com > Subject: [DRBD-user] Sync of Nodes > > Hi all, > > I just made a tes

Re: [DRBD-user] Newbie - unable to enable the resource

2013-07-30 Thread Dan Barker
You have specified the disk and the meta-disk both on /dev/sda2. To do that (it's recommended) say meta-disk internal. To do what you say you meant, specify a different partition for the meta data. Dan resource r0 { on drbd_test1.cesc.co.in { device/dev/drbd1; disk /dev/sda2;

Re: [DRBD-user] Upgrading from 8.3.11-2 to 8.3.15-2

2013-06-22 Thread Dan Barker
No worries. The servers negotiate a common protocol. You can even jump to 8.4.whatever. Dan From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Rick Cone Sent: Saturday, June 22, 2013 4:27 PM To: drbd-user@lists.linbit.com Subject: [DRBD-user] Upgra

Re: [DRBD-user] drbdadm verify resource with cron

2013-06-21 Thread Dan Barker
There is no such thing as in sync or out of sync if the resource is standalone. It simply is what it is. Dan From: andreas graeper [mailto:agrae...@googlemail.com] Sent: Friday, June 21, 2013 11:09 AM To: Dan Barker Subject: Re: [DRBD-user] drbdadm verify resource with cron hi, when a drdb

Re: [DRBD-user] drbdadm verify resource with cron

2013-06-21 Thread Dan Barker
it.com > Subject: Re: [DRBD-user] drbdadm verify resource with cron > > 2013/6/21 Dan Barker : > > What you want is to configure the Out Of Sync handler. Mine (cron to run > > weekly, one resource per night) says: > > > > out-of-sync "/

Re: [DRBD-user] drbdadm verify resource with cron

2013-06-21 Thread Dan Barker
Roberto: You are not looking for a return code, and the oos counter in /proc/drbd might not go up for hours. What you want is to configure the Out Of Sync handler. Mine (cron to run weekly, one resource per night) says: out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh myem

Re: [DRBD-user] Replication problems constants with DRBD 8.3.10

2013-06-17 Thread Dan Barker
The suggestion is to replace the actual RealTek NIC with an Intel NIC or some other dependable brand, not to use different drivers on the hardware you have. Clear as mud? Dan (top poster) in Atlanta > -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > b

Re: [DRBD-user] drbd+mysql+innodb

2013-06-12 Thread Dan Barker
rsync will not be able to synchronize from a "failed" disk, drbd already has done so. Dan in Atlanta From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Robinson, Eric Sent: Wednesday, June 12, 2013 6:20 PM To: Dirk Bonenkamp - ProActive Cc: drbd-us

Re: [DRBD-user] promoting one of new disks

2013-05-29 Thread Dan Barker
Yes, you can assume all zeros on new disks and skip the first sync. You can even do it with dirty disks, as long as the file systems are new, but the first verify will be a deusy. If you'd said what version of DRBD you were running, I'd give you the link in the manual for the correct command. B

Re: [DRBD-user] Dumb question

2013-05-22 Thread Dan Barker
The only dumb questions are the unasked question, and the question asked a second time. If you have run a verify, then all the out-of-sync blocks are marked. cat /proc/drbd should show very large numbers of "oos" (Out Of Sync) blocks. Simply disconnect/reconnect the resource and it will resync

Re: [DRBD-user] Not able to test Automatic split brain recovery policies

2013-04-11 Thread Dan Barker
> -Original Message- > From: Shailesh Vaidya [mailto:shailesh_vai...@persistent.co.in] > Sent: Thursday, April 11, 2013 1:50 AM > To: Digimer > Cc: Dan Barker; drbd-user@lists.linbit.com > Subject: RE: [DRBD-user] Not able to test Automatic split brain recovery > pol

Re: [DRBD-user] Not able to test Automatic split brain recovery policies

2013-04-10 Thread Dan Barker
You don't show the status of the nodes, but I imagine you have two primary nodes. There is no handler specified for two primary nodes. Did you have two primary, disconnected nodes? It shouldn't be possible to create split brain without writing on both nodes. Dan From: drbd-user-boun...@lists.l

Re: [DRBD-user] Uncatchable DRBD out-of-sync issue

2013-03-25 Thread Dan Barker
> -Original Message- > From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user- > boun...@lists.linbit.com] On Behalf Of Stanislav German-Evtushenko > Sent: Monday, March 25, 2013 10:13 AM > To: Radu Radutiu > Subject: Re: [DRBD-user] Uncatchable DRBD out-of-sync issue > > Thank you for

Re: [DRBD-user] Uncatchable DRBD out-of-sync issue

2013-03-24 Thread Dan Barker
Stanislav, my system sends me an email when verify finds an out-of-sync condition. You can use the same handler if you like. In my global, handlers section: out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh myemailaddress"; Are you resyncing after the error is detected (disconnect/connect th

Re: [DRBD-user] dump-md data

2013-03-11 Thread Dan Barker
The dump could be quite large if the bit map has a lot of non-zeros in it. As it is, all 9M times 64 bits times 4096 bytes/bit covers your 2+ terabyte metadata and all are zero so it takes one line. "8923456 times 0x;" Take down your secondary, run for a few days, and then dump

Re: [DRBD-user] drbd pacemaker scst/srp 2 node active/passive question

2013-03-01 Thread Dan Barker
>-Original Message- >From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] >Sent: Friday, March 01, 2013 11:16 AM >To: Jason Thomas >Cc: Dan Barker; drbd List (drbd-user@lists.linbit.com) >Subject: Re: [DRBD-user] drbd pacemaker scst/srp 2 node activ

Re: [DRBD-user] drbd pacemaker scst/srp 2 node active/passive question

2013-03-01 Thread Dan Barker
AM To: Dan Barker Cc: drbd List (drbd-user@lists.linbit.com) Subject: Re: [DRBD-user] drbd pacemaker scst/srp 2 node active/passive question Don, After having my fir cup of coffee and re-reading your post, it seems that your setup is over IP. I am using iSCSI over RDMA/Infiniband with Mellanox

Re: [DRBD-user] drbd pacemaker scst/srp 2 node active/passive question

2013-03-01 Thread Dan Barker
That's easy, I've been doing it for years, going back to ESXi 4.1 at least, maybe even to 4.0. I run ESXi 5.1 now. Set up both the servers in ESXi, Configuration, Storage adapters. Use static discovery, because you can list the targets whether they exist or not. When the primary goes down, the

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

2013-02-27 Thread Dan Barker
Well, that's who's got it open. Task 7354, 27005 and 27174. See which you may be able to stop or kill. Dan From: Felipe Gutierrez [mailto:felipe.o.gutier...@gmail.com] Sent: Wednesday, February 27, 2013 11:46 AM To: Dan Barker Subject: Re: [DRBD-user] Device is held open by som

Re: [DRBD-user] Expanding a cluster

2013-01-31 Thread Dan Barker
Justin: I would suggest: Swap ALL drives in one server with 2T drives, build the new RAID array, let that sync. You have a "backup" in the 1T drives you pulled. Ditto for the Primary. You miss the rebuild, you only do the sync. A rebuild reads EVERY sector, regardless of whether it's in use;

Re: [DRBD-user] bad side-effect: bug in inactive config stops other resources

2013-01-23 Thread Dan Barker
:02 PM To: drbd-user@lists.linbit.com Subject: Re: [DRBD-user] bad side-effect: bug in inactive config stops other resources Am 23.01.2013 um 16:39 schrieb Dan Barker: >>> conflicting use of resource section 'drbd8_1' > > Looks like you forgot to edit the config sections pr

Re: [DRBD-user] bad side-effect: bug in inactive config stops other resources

2013-01-23 Thread Dan Barker
>> conflicting use of resource section 'drbd8_1' Looks like you forgot to edit the config sections properly in the vim ... step. Do the drbd10 decks still say drbd8? Dan -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of

Re: [DRBD-user] Diagnosing a Failed Resource

2013-01-22 Thread Dan Barker
>>> However, I still have no idea what caused the failures. A split brain is caused by writing to both members while they are disconnected. What in your environment caused that to occur is probably lost in logs a week gone. But, if your procedures always allow only one node (primary) to write to

Re: [DRBD-user] Diagnosing a Failed Resource

2013-01-21 Thread Dan Barker
The errors in connecting are logged. If you can't find them, attempt to connect a resource (drbdadm connect r1, for example) to create the errors again, and then look at the logs for the reason the connection was not established. The "status" will continue to show waiting for connection (WFC) bu

Re: [DRBD-user] DRDB stalled and impossible restart, down...

2013-01-13 Thread Dan Barker
I have no idea what the problem might be. But I have an idea to un-hang drbd. If you go on the primary node and disconnect the resource (drbdadm r1 disconnect), maybe the processes on the secondary will respond. Saves a boot. Are you certain about the reliability of the network layer between th

Re: [DRBD-user] Too many block drbdX: Out of sync

2013-01-12 Thread Dan Barker
the execution of /sbin/drbdadm verify all errors are corrected. This is incorrect. Verifyall errors are identified. They are not corrected. To correct them, disconnect and reconnect. They are corrected at "connect" time. Dan -Original Message- From: drbd-user-boun...@lists.linbit.c

Re: [DRBD-user] very large out-of-sync (oos) value yet drbd-overview claims UpToDate/UpToDate

2012-11-01 Thread Dan Barker
s and mark them for syncing, but the hypothetical file system is still consistent. Just do the Disconnect/Connect and you'll have oos zero AND UpToDate. Dan -Original Message- From: Lonni J Friedman [mailto:netll...@gmail.com] Sent: Thursday, November 01, 2012 4:31 PM To:

Re: [DRBD-user] very large out-of-sync (oos) value yet drbd-overview claims UpToDate/UpToDate

2012-11-01 Thread Dan Barker
There is an on-error event handler. Mine sends me email if verify fails (runs weekly, one resource each of M, Tu, W, Th nights). Dan In my Global "handlers" section: out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh "; -Original Message- From: drbd-user-boun...@lists.linbit.com [m

Re: [DRBD-user] DRBD Versions

2012-10-24 Thread Dan Barker
I don't understand the hubbub over compiling this thing. My first DRBD was on Linux from scratch, a distribution where everything is done by hand, so there was no package manager availaable. I found the install quite simple. My most recent upgrade consisted of these easy steps, and took about 2 min

Re: [DRBD-user] Does oversize disk hurt anything?

2012-10-07 Thread Dan Barker
>-Original Message- >From: Florian Haas [mailto:flor...@hastexo.com] >Sent: Sunday, October 07, 2012 5:46 PM >To: Dan Barker >Cc: drbd List >Subject: Re: [DRBD-user] Does oversize disk hurt anything? > >On Sun, Oct 7, 2012 at 2:20 PM, Dan Barker wrote: >

Re: [DRBD-user] IO Error Logging

2012-10-07 Thread Dan Barker
quot; /proc/1|awk '{print $6,$7}')" +"%s") + $1))) EOF You may need to muck with the script to make it match your system's peculiarities; shown is for Debian. Dan -Original Message- From: Felix Frank [mailto:f...@mpexnet.de] Sent: Sunday, October 07, 2012 9:

Re: [DRBD-user] Does oversize disk hurt anything?

2012-10-07 Thread Dan Barker
-Original Message- From: Florian Haas [mailto:flor...@hastexo.com] Sent: Sunday, October 07, 2012 5:47 AM To: Dan Barker Cc: drbd List Subject: Re: [DRBD-user] Does oversize disk hurt anything? >On Fri, Oct 5, 2012 at 7:59 PM, Dan Barker wrote: >> I just lost a disk on my secon

Re: [DRBD-user] IO Error Logging

2012-10-05 Thread Dan Barker
dmesg | grep sr1 should show you all you need to know. Dan (there's that word "should" again) From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Andrew Eross Sent: Friday, October 05, 2012 2:17 PM To: drbd-user@lists.linbit.com Subject: [DRBD-u

[DRBD-user] Does oversize disk hurt anything?

2012-10-05 Thread Dan Barker
I just lost a disk on my secondary node. I looked EVERYWHERE and can't find the spare disks I bought for such an occurrence. So, I put in a handy disk, twice the size. drbdadm create-md r1 drbdadm attach r1 and off we go. If memory serves, create-md will build a meta-data at the END of the disk.

Re: [DRBD-user] Status Mismatch

2012-09-19 Thread Dan Barker
The sync hasn't finished. It's at 100%, but still doing cleanup at end-of-task. When it completes, you'll see the correct status. Inconsistent is the VALID status until the sync finishes. When the progress bar goes away, it's really done. Check the logs if you think it's hung there too long. Da

Re: [DRBD-user] What to do about read errors on the primary?

2012-09-18 Thread Dan Barker
verify with email to you if anything is amuck. Of course, even that can fail. No email means no verify error, but it doesn't mean the CPU didn't overheat and shutdown one of the nodes (happened to me a couple weeks back. $2 fan). hth Dan -Original Message----- From: Alan Robertson [mail

Re: [DRBD-user] What to do about read errors on the primary?

2012-09-18 Thread Dan Barker
"I have read errors on the primary side, which caused the secondary to go into an "inconsistent" state." It's a shame you lost the logs. They would have said much. When drbd loses a primary disk, it continues to work, read/write, using the secondary disk. The active node will remain primary, the

Re: [DRBD-user] slow write performance

2012-09-12 Thread Dan Barker
a) use oflag=direct or dd will just test caching. b) You show a 183MB/s rate, which is pretty good. However, the target appears not to be the drbd volume, you don't say if the resource is connected or waiting for connection, and you don't describe the underlying hardware. c) How is /mnt/mysql/synci

Re: [DRBD-user] DRBD volumes have different files, but DRBD reports them being in sync

2012-09-02 Thread Dan Barker
See below -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Bala Ramakrishnan Sent: Saturday, September 01, 2012 4:24 PM To: drbd-user@lists.linbit.com Subject: [DRBD-user] DRBD volumes have different files, but DRBD r

Re: [DRBD-user] ds:Uptodate not uptodate

2012-08-16 Thread Dan Barker
Run a verify. It will show issues, I imagine. The version "you like" should be primary. drbdadm disconnect and then drbdadm connect (from either node) and they'll sync up. I imagine some changes were made to one of the devices while not under drbd control, so no "stale" bits were set in the bit

Re: [DRBD-user] Switching from internal to external meta-disk

2012-07-11 Thread Dan Barker
And further, the FIRST step in any maintenance should be is "cat /proc/drbd". You would have seen which node had the current data. Dan -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Felix Frank Sent: Wednesday, July 11,

Re: [DRBD-user] Parse error an option keyword expected but got fence peer

2012-06-22 Thread Dan Barker
That is an ancient DRBD. I've been using drbd for years (at least 3), and I don't remember anything before 8.3.7. I'm running 8.4.1 now. Why are you on such an old version? Maybe the command syntax was different and the messages are simply correct. I don't know about 8.2, but I do know the document

Re: [DRBD-user] Shrink an LVM partition and create a new one for the /drbd mount ?

2012-06-16 Thread Dan Barker
Sounds like your root file system is in LogVol01. Makes working on it nearly impossible. A good live-CD with LV tools is rescatux (www.supergrubdisk.org/rescatux). Good luck! I just used it to reorganize some root LVs on RHEL 5. Dan -Original Message- From: drbd-user-boun...@lists.linbit

Re: [DRBD-user] Corosync Configuration

2012-06-11 Thread Dan Barker
Off OP's topic, but a correction. -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Pascal BERTON Sent: Thursday, June 07, 2012 1:29 PM To: 'Jake Smith'; drbd-user@lists.linbit.com Subject: Re: [DRBD-user] Corosync Configu

Re: [DRBD-user] Syncer's "after" dependency for online verifying

2012-06-04 Thread Dan Barker
> Is it possible to have DRBD verify B only when A is done verifying? I use crontab. On Monday at 2:11 AM, verify r0 On Tuesday at 2:11 AM, verify r1 On Wednesday at 2:11 AM, verify r2 On Thursday at 2:11 AM, verify r3 --or-- 11 2 * * 1 /sbin/drbdadm verify r0 11 2 * * 2

Re: [DRBD-user] startup hang after "yes"

2012-05-29 Thread Dan Barker
- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Jake Smith Sent: Tuesday, May 29, 2012 3:58 PM To: drbd List Subject: Re: [DRBD-user] startup hang after "yes" - Original Message - > From: "Dan Barker" > To:

Re: [DRBD-user] Problem between two nodes but only on 1 ressource

2012-05-29 Thread Dan Barker
You want to preserve the data on node1, not on node2. You may have been reading the doc from the point of view of the wrong side. On node1 you want to discard the peer's data. -- or -- On node2 you want to discard my data. The syntax is different from 8.3 to 8.4 but I'm sure you have that handy

Re: [DRBD-user] startup hang after "yes"

2012-05-29 Thread Dan Barker
poster) -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Dan Barker Sent: Saturday, May 26, 2012 1:23 PM To: drbd List Subject: [DRBD-user] startup hang after "yes" I'm building a new drbd machine. I put 8.4.0 o

[DRBD-user] startup hang after "yes"

2012-05-26 Thread Dan Barker
I'm building a new drbd machine. I put 8.4.0 on a Debian 603 and all looks fine except ... Since I'm testing, I don't have another node. I did create-md and then primary --force. At boot time, there is no peer, so I get the count-up to yes. When I enter yes, nothing happens. If I ssh in and stop/

Re: [DRBD-user] drbd wrong lower device doubt

2012-05-18 Thread Dan Barker
The configurations SHOULD match to simplify maintenance, but server A will completely ignore server B settings, and server B will completely ignore server A settings. Your config is being read by the servers as: Host A: resource r0 { on ME { device /dev/drbd0;

Re: [DRBD-user] I need Reset DRBD Service

2012-05-18 Thread Dan Barker
On the primary, execute the command "drbdadm connect all". That will either work, or put meaningful messages into the log. If they connect, you are fine. However, I suspect they will not connect. Look in the log (dmesg) for drbd messages. They will tell the reason for the connection not being estab

Re: [DRBD-user] Primary/Unknown UpToDate/Outdated

2012-05-02 Thread Dan Barker
ON the Primary, do a drbdadm connect " or "drbdadm connect all". Dan From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Norman Sent: Monday, April 30, 2012 1:45 PM To: drbd-user@lists.linbit.com Subject: [DRBD-user] Primary/Unknown UpToDate/Out

Re: [DRBD-user] multipathd ignores my drbd0

2012-04-10 Thread Dan Barker
Pascal BERTON [mailto:pascal.bert...@free.fr] Sent: Tuesday, April 10, 2012 3:30 PM To: 'Dan Barker'; 'drbd List' Subject: RE: [DRBD-user] multipathd ignores my drbd0 Dan, Isn't it the backing device you should refer ? To me, if you want multipath to work correctly, the device has

Re: [DRBD-user] Unable to perform initial sync

2012-04-10 Thread Dan Barker
, April 10, 2012 2:49 PM To: drbd-user@lists.linbit.com Subject: Re: [DRBD-user] Unable to perform initial sync On 11.04.2012, at 0:36, Dan Barker wrote: > I do not understand what you did or are trying to do. In Sync has no > "direction". If you are in sync from Primary to Seco

Re: [DRBD-user] multipathd ignores my drbd0

2012-04-10 Thread Dan Barker
, but multipath -ll -v3 has zero occurrences of "drbd" in it. Dan -Original Message- From: Kushnir, Michael (NIH/NLM/LHC) [C] [mailto:michael.kush...@nih.gov] Sent: Tuesday, April 10, 2012 1:23 PM To: Dan Barker; 'drbd List' Subject: RE: [DRBD-user] multipathd ignores my drbd0

Re: [DRBD-user] multipathd ignores my drbd0

2012-04-10 Thread Dan Barker
k Oracle VM will use it. Thanks for the help, none the less. Dan -Original Message- From: Kaloyan Kovachev [mailto:kkovac...@varna.net] Sent: Tuesday, April 10, 2012 9:53 AM To: Dan Barker Cc: drbd List Subject: Re: [DRBD-user] multipathd ignores my drbd0 I think you can't use

Re: [DRBD-user] Unable to perform initial sync

2012-04-10 Thread Dan Barker
I do not understand what you did or are trying to do. In Sync has no "direction". If you are in sync from Primary to Secondary, you are in sync period. There is no reason to think about a direction. To do a recovery, when one of the resources is to be used as the sync source due to having more cu

Re: [DRBD-user] multipathd ignores my drbd0

2012-04-10 Thread Dan Barker
ailto:kkovac...@varna.net] Sent: Tuesday, April 10, 2012 9:53 AM To: Dan Barker Cc: drbd List Subject: Re: [DRBD-user] multipathd ignores my drbd0 I think you can't use DRBD device directly with multipath, but if you export it via iSCSI and then import it back it is possible. Another option is L

Re: [DRBD-user] multipathd ignores my drbd0

2012-04-10 Thread Dan Barker
How do I get multipathd to notice my drbd block devices? RHEL5 (Oracle VM 3.0.3.127, actually), 2.6.32.21-45xen. Drbd 8.4.1: multipath-tools says v0.4.9. I can't seem to find the multipath version. resource r0 { on OVMPam { volume 0 { device /dev/drbd0 minor 0;

[DRBD-user] multipathd ignores my drbd0

2012-04-09 Thread Dan Barker
How do I get multipathd to notice my drbd block devices? RHEL5 (Oracle VM 3.0.3.127, actually), 2.6.32.21-45xen. Drbd 8.4.1: multipath-tools says v0.4.9. I can't seem to find the multipath version. resource r0 { on OVMPam { volume 0 { device /dev/drbd0 minor 0;

Re: [DRBD-user] How to create WFConnection resource with one DRBD host?

2012-04-07 Thread Dan Barker
bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:78148320 -Original Message- From: Florian Haas [mailto:flor...@hastexo.com] Sent: Saturday, April 07, 2012 8:52 AM To: Dan Barker Cc: drbd List Subject: Re: [DRBD-user] How to create WFConnection resource with one DRBD host? On Sat, Apr 7, 2012 at 2

[DRBD-user] How to create WFConnection resource with one DRBD host?

2012-04-07 Thread Dan Barker
I need to test that DRBD will peacefully cohabit with Oracle VM. I want to build a single-node DRBD array and need my resource in WFConnection Primary/unknown Uptodate/DUnknown. Otherwise I need two drbds (I can do that, but it's not germane to this test). I did a create-md (successful) and a drb

Re: [DRBD-user] drbd storage for Oracle VM

2012-04-04 Thread Dan Barker
> Eduardo, thank you for your input, but Virtual Box (workstation > product) is a completely different animal than Oracle VM (bare-metal > hypervisor). I don't get to choose the underlying storage, and OVM3 choses OCFS2. > > I guess I'll simply have to try it out and see if DRBD

Re: [DRBD-user] drbd storage for Oracle VM

2012-04-03 Thread Dan Barker
Eduardo, thank you for your input, but Virtual Box (workstation product) is a completely different animal than Oracle VM (bare-metal hypervisor). I don't get to choose the underlying storage, and OVM3 choses OCFS2. I guess I'll simply have to try it out and see if DRB

Re: [DRBD-user] drbd storage for Oracle VM

2012-04-03 Thread Dan Barker
>> Eduardo, thank you for your input, but Virtual Box (workstation >> product) is a completely different animal than Oracle VM (bare-metal >> hypervisor). I don't get to choose the underlying storage, and OVM3 choses >> OCFS2. >> >> >> >> I guess I'll simply have to try it out and see if DRBD will

Re: [DRBD-user] drbd storage for Oracle VM

2012-04-03 Thread Dan Barker
. Dan From: Eduardo Diaz - Gmail [mailto:ediaz...@gmail.com] Sent: Tuesday, April 03, 2012 5:44 AM To: Dan Barker Cc: drbd List Subject: Re: [DRBD-user] drbd storage for Oracle VM I am using Active/Active drbd with virtualbox ocfs2, if you have any questions feel free to ask. My

[DRBD-user] drbd storage for Oracle VM

2012-03-31 Thread Dan Barker
I'm looking at a Primary/Secondary, Protocol B (or maybe A with Proxy) for a warm-DR site of a one-host, 4VM Oracle VM 3.0.3 system. Anyone got any experience with OVM 3 and DRBD? I was planning to put DRBD on the OVM 3 host and have it provide /dev/drbd0 to OVM for its repository (OVM3 Repositor

Re: [DRBD-user] corrupted data disk

2012-03-16 Thread Dan Barker
Prevent? Good applications. Recover? Good backups. -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Umarzuki Mochlis Sent: Friday, March 16, 2012 2:32 AM To: drbd-user Subject: [DRBD-user] corrupted data disk will a corru

Re: [DRBD-user] drbd read-only mode

2012-03-15 Thread Dan Barker
ro: doesn't mean Read Only in that context. I don't recall offhand what it does mean, but my disks are all read-write and show ro: there. Someone else will chime in with the real meaning, I'm sure. Dan From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com]

Re: [DRBD-user] centos 5 drbd 8 uptodate is false

2012-03-15 Thread Dan Barker
suming you have VMa, VMb and VMc on Disk1, and VMd, VMe and VMf on Disk2, you could. Build a drbd array on New space. Migrate VMa, VMb and VMc to it. Build a drbd array on the space of Disk1. Migrate VMd, VMe and VMf to it. Recover the space of Disk2. hth Dan Barker -Original Message-

Re: [DRBD-user] Kernel hung on DRBD / MD RAID

2012-02-21 Thread Dan Barker
>> On 02/21/2012 12:03 AM, Andreas Bauer wrote: >> > So when vm-master is Primary, vm-slave is Secondary, and I >> > force-detach the >> backing device on vm-master, DRBD will automatically make vm-slave the >> Primary and direct writes to that host? >> >> no. >> >> The secondary remains second

Re: [DRBD-user] Backing up VMware VM's running DRBD with VMware Data Recovery (VDR)

2012-02-20 Thread Dan Barker
Mark said: "Snapshot creation requires that VMware tools are installed". This is not correct (at least on ESXi4 and 5). "quiesce VM" requires VMware tools, VDR may require VMware tools, but snapshots do not. This doesn't affect the OP's problem, but the incorrect statement needed illumination. D

Re: [DRBD-user] DRBD+Pacemaker: Won't promote with only one node

2012-01-05 Thread Dan Barker
lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of William Seligman Sent: Thursday, January 05, 2012 12:06 PM To: drbd-user@lists.linbit.com Subject: Re: [DRBD-user] DRBD+Pacemaker: Won't promote with only one node > Message: 1 > Date: Wed, 4 Jan 2012 15:58:09 -0

Re: [DRBD-user] DRBD+Pacemaker: Won't promote with only one node

2012-01-04 Thread Dan Barker
I'd say the error is in the STONITH method. You evidently are giving the UPS a "SHUTDOWN" command when you should be giving it a "SLEEP" or "SUSPEND" command (Whatever your UPS Vendor's idea of power off the outlets only until the mains come on and have charged the batteries to above 5% or whate

[DRBD-user] Is VMFS5 "cluster aware"?

2011-11-30 Thread Dan Barker
Is the new filesystem for VMWare's vSphere 5 cluster aware? I continue to see references to GFS2 and OCFS2 but never a mention of VMFS5. I'm just curious for now, because I'm running single primary. If I could save the network latency for reads from one host that would be sweet! Dan _

Re: [DRBD-user] Enabling a stacked resource - HELP!

2011-09-15 Thread Dan Barker
And on 8.4.0 up, you can use the same IP and port. See volumes: http://www.drbd.org/users-guide/ap-recent-changes.html Dan -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of SlingPirate Sent: Thursday, September 15, 2011

Re: [DRBD-user] Latency problems with DRBD 0.8.4 and a 3ware RAID5

2011-08-31 Thread Dan Barker
I sure hope that 0.8.4 is a typo. We are up to version 8.4.0. If you are really running drbd from years ago, I'd suggest an upgrade. Sorry, but I don't have any input on your throughput issue. Dan -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lis

Re: [DRBD-user] data integrity in drbd

2011-08-26 Thread Dan Barker
st be the only access to that device; Connected or not, Primary or Secondary. hth Dan Barker -Original Message- From: drbd-user-boun...@lists.linbit.com [mailto:drbd-user-boun...@lists.linbit.com] On Behalf Of Arnold Krille Sent: Friday, August 26, 2011 2:08 PM To: drbd-user@lists.linbit.

[DRBD-user] New manual contains "FIXME"

2011-08-05 Thread Dan Barker
I think a number was intended, but I don't know what that number might be. Dan minor-count may be a number from 1 to FIXME. ___ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user

Re: [DRBD-user] DRBD won't take 1G syncer rate

2011-08-05 Thread Dan Barker
I'm in the middle of a "verify the upgrade procedure" for drbd 8.3.10 to 8.4.0. Just for chucks, I did the dd command here, to see the performance I get. root@Drbd0:/usr/src/drbd-8.4.0# cat /proc/drbd version: 8.4.0 (api:1/proto:86-100) GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c b

Re: [DRBD-user] DRBD won't take 1G syncer rate

2011-08-05 Thread Dan Barker
ine verify and disconnect/connect (of the secondary node) will get you synced up with zero downtime. hth Dan From: Matt Baer [mailto:mb...@lrnet1.com] Sent: Friday, August 05, 2011 12:34 PM To: Dan Barker Subject: Re: [DRBD-user] DRBD won't take 1G syncer rate Ok, looking at th

  1   2   >