LINBIT DRBD (old-stable). Contribute to LINBIT/drbd development by creating an account on GitHub. You don’t want to create the filesystem on your backing disks for DRBD (sdb and sdc); you want to create the DRBD first, and then format the. Drbdadm is the high level tool of the DRBD program suite. Drbdadm is to drbdsetup and drbdmeta what ifup/ifdown is to ifconfig. Drbdadm.

Author: Bagal Nilkree
Country: Reunion
Language: English (Spanish)
Genre: Relationship
Published (Last): 24 January 2017
Pages: 382
PDF File Size: 13.73 Mb
ePub File Size: 5.79 Mb
ISBN: 145-7-51187-654-2
Downloads: 69334
Price: Free* [*Free Regsitration Required]
Uploader: Mokinos

Sign up using Email and Password. After I ran your commands, the result was the same. The only necessary thing is do the partition only.

Home Questions Tags Users Unanswered. Email Required, but never shown.

Wait for a long time returned no result. After I added the new hard disk on both nodes, I did partition and format on them!

drbd.conf-8.4 man page

Sign up using Facebook. Don’t do that, you don’t know what you’re doing: Run drbdadm connect all on node1: Can’t run drbdadm up with DRBD 8. Added 16GB new hard disk on each node. At this time, ran systemctl start brdb on both nodes, drbr of them got pending.


It can be done the other way, but then you’d need to grow the backing partition, or reduce the size of the filesystem to make room for DRBD’s metadata which lives at the end of the block device when using internal metadata. Post as a guest Name. After run that zero out command, both drhd showed: And ran lsblk -a now: Command ‘drbdsetup connect r0 ipv4: DRBD is obviously a great tool, and is easy to use once you understand the basics, but you’re dealing with storage so there is a lot of room to mess things up in a permanent srbd.

centos7 – Can’t run drbdadm up with DRBD on CentOS – Server Fault

I have did what you suggest: Matt Kereczman 1, 5 The process should be something like this: That last link also uses sdb1 for DRBD instead of sdb. Follow official guide to config the basic resource on both nodes: It’s not an issue of the “right order”, it’s that you’re writing stuff to a device which does or will underly DRBD other than to clear it in advance as suggested in this answer.

Server Fault works best with JavaScript enabled. Zero out your partition on both nodes on both nodes. I added the information to the bellow of the question. Put the resource up on both nodes: I was using basic 10GB disk on each node.


drbdadm(8) — drbd-utils — Debian stretch — Debian Manpages

Sign up or log in Sign up using Google. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. So how much space is required in this case?

Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the drbs is subject to these policies.

It’s the right order. Thank you very much for your very good answer!

Device ‘0’ is configured! I know the reason. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to drbv policies.