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.
|Published (Last):||24 July 2018|
|PDF File Size:||10.43 Mb|
|ePub File Size:||20.50 Mb|
|Price:||Free* [*Free Regsitration Required]|
It’s not an issue of the “right order”, it’s that you’re writing stuff drd a device which does or will underly DRBD other than to clear it in advance as suggested in this answer.
That last link also uses sdb1 for DRBD instead of sdb. 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 way. The process should be something like this: Run drbdadm connect all on node1: And ran lsblk -a now: Don’t do that, you don’t know what you’re doing: Device ‘0’ is configured!
Added 16GB new hard disk on each node. I was using basic 10GB disk on each node.
drbd.conf-8.4 man page
After I added the new hard disk on both nodes, I did partition and format on them! Zero out your partition on both nodes ddrbd both nodes. I have did what you suggest: Email Required, but never shown. After run that zero out command, both of showed: Wait for a long time returned no result.
After I ran your commands, the result was the same. 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 drb when using internal metadata. Matt Kereczman 1, 5 Sign up using Facebook.
drbdadm(8) — drbd-utils — Debian stretch — Debian Manpages
man page – drbd-utils | ManKier
At this time, ran systemctl start brdb on both nodes, all of them got pending. Command ‘drbdsetup connect r0 ipv4: Thank you very much for your very good answer! Can’t run drbdadm up with DRBD 8.
I added the information to the bellow of the question. Put the resource up on both nodes: