Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

add third drbd device to live setup?

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


jederman73 at yahoo

Jul 29, 2010, 8:16 PM

Post #1 of 2 (406 views)
Permalink
add third drbd device to live setup?

Hi,

I have currently have a two node drbd setup with two drbd devices - drbd0 and
drbd1. Everything works as expected there.
I would however like to add a third drbd device to this setup - drbd2. I am
wondering what is the way to do this (if there is one) with
disrupting the other drbd devices that already exist (drbd0 and 1).

After adding the necessary config to drbd.conf, partitioning drives et all,
will i need to restart drbd entirely to start the third device (drbd2)? Or can
I use drbdadm ( perhaps adjust?) to add the third device without restarting
entirely?

What would be the optimal and least disruptive way to add another drbd device to
a current live setup?

Thank you!

-J


dbarker at visioncomm

Jul 30, 2010, 4:50 AM

Post #2 of 2 (381 views)
Permalink
Re: add third drbd device to live setup? [In reply to]

There is no need to stop drbd. Simply add the res files describing the new
resource, and use the drbdadm create-md, attach, sync, connect, up, down,
whatever, to bring the third device on-line. If it's completely blank, you
can skip the initial sync using the instructions on:
http://www.drbd.org/users-guide/re-drbdsetup.html. Look way on down near
new-current-uuid.



Adjust will be used on an active resource. drbdadm is used to make resources
active. Restarting drbd, drbdadm and adjust will read the conf files to find
the "current" configuration.



Dan in Atlanta



From: drbd-user-bounces [at] lists
[mailto:drbd-user-bounces [at] lists] On Behalf Of Jed Erman
Sent: Thursday, July 29, 2010 11:17 PM
To: drbd-user [at] lists
Subject: [DRBD-user] add third drbd device to live setup?





Hi,



I have currently have a two node drbd setup with two drbd devices - drbd0
and drbd1. Everything works as expected there.

I would however like to add a third drbd device to this setup - drbd2. I am
wondering what is the way to do this (if there is one) with

disrupting the other drbd devices that already exist (drbd0 and 1).



After adding the necessary config to drbd.conf, partitioning drives et all,
will i need to restart drbd entirely to start the third device (drbd2)? Or
can I use drbdadm ( perhaps adjust?) to add the third device without
restarting entirely?



What would be the optimal and least disruptive way to add another drbd
device to a current live setup?



Thank you!



-J

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.