<font size=2 face="sans-serif">Hmm sorry Dan, but this has left me a little
confused.</font>
<br><font size=2 face="sans-serif">As I said in my first post, storage00
is LIVE and has around 4TB of data on it, I have a dedicated gigabit NIC
for drbd, (the machine has 6 network cards in it, 4 for MPIO iSCSI, 1 for
managment/heartbeat, 1 for DRBD)</font>
<br><font size=2 face="sans-serif">I have already setup storage01 and have
issued drbdadm create-md meta and drbdadm create-md data on the secondary
machine, I haven't started drbd on it as it needs to be rebooted first,
hence why I'm now a little cautious on the reboot of the machine.</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
Adam Niedzwiedzki<br>
</font>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">"Dan Barker" <dbarker@visioncomm.net></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif"><drbd-user@lists.linbit.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">12/08/2010 10:31 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [DRBD-user] Initial sync,
just want to confirm the process (and not go
down in a blaze of glory)</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font>
<td><font size=1 face="sans-serif">drbd-user-bounces@lists.linbit.com</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>> <snip><br>
><br>
> Now I need to reboot here, (due to the LVM module), now my gut is
<br>
> saying it should all be ok, but of course drbd is going to fire up
<br>
> on reboot, what is my process from here? <br>
><br>
> Will it be ok for the reboot, see as this will be the first time <br>
> drbd starts on the secondary and connects to the primary?<br>
><br>
<br>
Nothing bad will happen. Until/If you create the metadata on storage01,
drbd<br>
will ignore the disk resource. From there, you are just replacing a disk,
as<br>
in the doc:<br>
</font></tt><a href="http://www.drbd.org/users-guide/ch-troubleshooting.html#s-replace-disk-inter"><tt><font size=2>http://www.drbd.org/users-guide/ch-troubleshooting.html#s-replace-disk-inter</font></tt></a><tt><font size=2><br>
nal-metadata. When you attach the resource, the sync will start _and_ it<br>
will start in the direction you desire.<br>
<br>
You may want to create a tiny (few hundred M) resource and go through the<br>
steps on it for your own comfort. I set up my entire drbd configuration
on a<br>
couple of virtual machines before I lit mine for real - and I use them
often<br>
to answer the "what if xxx happens" questions.<br>
<br>
Add the definitions to both configuration files. Do the create-md, attach,<br>
connect, mount, mkfs on storage00 and put some data on it. When you do
the<br>
create-md on storage01, the sync will automatically start and whatever<br>
you've put on it using storage00 will copy over. Verify by taking down
the<br>
resource on storage01 and mounting the device locally.<br>
<br>
You have the entire wire allowed for sync. This will impact live throughput.<br>
If the devices are all idle, fine. If the primary is expecting to get<br>
anything done while the sync takes place, then throttle that back a bit<br>
(actually, a lot). You can temporarily override the syncher speed in an<br>
emergency situation, but for normal use maybe 35M would make more sense.<br>
Remember, drbd will be running fine during the sync, even if dual-primary!<br>
Leave some room for drbd non-sync use of the wire.<br>
<br>
Command that speeds up sync but doesn't flummox the config files:<br>
drbdsetup /dev/drbd<minor> syncer -r 110M<br>
<br>
Dan in Atlanta<br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
drbd-user@lists.linbit.com<br>
</font></tt><a href="http://lists.linbit.com/mailman/listinfo/drbd-user"><tt><font size=2>http://lists.linbit.com/mailman/listinfo/drbd-user</font></tt></a><tt><font size=2><br>
</font></tt>
<br>