<font size=2 face="sans-serif">Ok I didn't realise this was that kind
of an issue, I just assumed DRBD wasn't happy with my setup due to the
second node not being online.</font>
<br><font size=2 face="sans-serif">The partition /dev/sdb1 is only set
to about 40GB while I'm testing the setup, once I've nutted everything
the machine will be rebuilt to have it's full capacity. (around 7TB) it's
an LVM partition</font>
<br>
<br><font size=2 face="sans-serif">I created a single Logical Volume around
20GB have it exported via iscsi-scst. <br>
<br>
Single VMWare ESXi server (again this is all testing this phase), setup
iscsi to connect to the SAN (testing MPIO) as soon as I &quot;scan&quot;
from the storage adapter I start getting the </font>
<br><tt><font size=2>[28609.797320] block drbd1: al_complete_io() called
on inactive extent 623 </font></tt>
<br><tt><font size=2>ete..<br>
<br>
see </font></tt><a href="http://www.genis-x.com/files/syslog"><tt><font size=2>http://www.genis-x.com/files/syslog</font></tt></a><tt><font size=2><br>
<br>
Where the log ends is where I shutdown the ESXi server<br>
</font></tt>
<br><tt><font size=2>If there are any additional debugging steps/options
I can enable that would help, let me know.</font></tt>
<br><tt><font size=2>I haven't done anything with /dev/drdb0 yet this is
going to hold config files etc.</font></tt>
<br>
<br><font size=2 face="sans-serif">Background:</font>
<br><font size=2 face="sans-serif">Ubuntu 10.4 with recompiled linux-source
(2.6.32.15) kernel due to iscsi-scst patches.</font>
<br><font size=2 face="sans-serif">iscsi-scst as target engine</font>
<br><font size=2 face="sans-serif">heartbeat (not yet though just getting
the base working, drbd + scst) then I'll integrate heartbeat</font>
<br><font size=2 face="sans-serif">lvm2 on top of drbd</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:/etc# cat drbd.conf</font>
<br><font size=2 face="sans-serif">global {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; usage-count
no;</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">common {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; syncer {
rate 110M; }</font>
<br><font size=2 face="sans-serif">}</font>
<br><font size=2 face="sans-serif">resource meta {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; protocol
C;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; handlers
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pri-on-incon-degr
&quot;echo O &gt; /proc/sysrq-trigger ; halt -f&quot;;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pri-lost-after-sb
&quot;echo O &gt; /proc/sysrq-trigger ; halt -f&quot;;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;local-io-error
&quot;echo O &gt; /proc/sysrq-trigger ; halt -f&quot;;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; startup
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
wfc-timeout 0;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;degr-wfc-timeout
120; # 2 minutes.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; disk {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on-io-error
detach;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; net {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;after-sb-0pri
disconnect;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;after-sb-1pri
disconnect;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;after-sb-2pri
disconnect;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rr-conflict
disconnect;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; syncer {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
rate 110M;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
after &quot;r2&quot;;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;al-extents
257;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; on storage00
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;device
/dev/drbd0;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disk
/dev/sda3;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address
192.168.1.10:7788;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;meta-disk
internal;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; on storage01
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;device
/dev/drbd0;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disk
/dev/sda3;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address
192.168.1.11:7788;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;meta-disk
internal;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">resource data {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; protocol
C;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; startup
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wfc-timeout
0; ## Infinite!</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;degr-wfc-timeout
120; ## 2 minutes.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; disk {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on-io-error
detach;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; net {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
timeout 60;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
connect-int 10;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
ping-int 10;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
max-buffers 2048;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
max-epoch-size 2048;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; syncer {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;after
&quot;meta&quot;;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; on storage00
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;device
/dev/drbd1;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disk
/dev/sdb1;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address
192.168.1.10:7789;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;meta-disk
internal;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; on storage01
{</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;device
/dev/drbd1;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;disk
/dev/sdb1;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address
192.168.1.11:7789;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;meta-disk
internal;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; }</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">root@storage00:/etc# fdisk -l</font>
<br>
<br><font size=2 face="sans-serif">Disk /dev/sda: 21.5 GB, 21474836480
bytes</font>
<br><font size=2 face="sans-serif">255 heads, 63 sectors/track, 2610 cylinders</font>
<br><font size=2 face="sans-serif">Units = cylinders of 16065 * 512 = 8225280
bytes</font>
<br><font size=2 face="sans-serif">Sector size (logical/physical): 512
bytes / 512 bytes</font>
<br><font size=2 face="sans-serif">I/O size (minimum/optimal): 512 bytes
/ 512 bytes</font>
<br><font size=2 face="sans-serif">Disk identifier: 0x00004968</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Device Boot &nbsp; &nbsp;
&nbsp;Start &nbsp; &nbsp; &nbsp; &nbsp; End &nbsp; &nbsp; &nbsp;Blocks
&nbsp; Id &nbsp;System</font>
<br><font size=2 face="sans-serif">/dev/sda1 &nbsp; * &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp;2432 &nbsp; &nbsp;19530752 &nbsp;
83 &nbsp;Linux</font>
<br><font size=2 face="sans-serif">/dev/sda2 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;2432 &nbsp; &nbsp; &nbsp; &nbsp;2494 &nbsp; &nbsp; &nbsp;499712
&nbsp; 82 &nbsp;Linux swap / Solaris</font>
<br><font size=2 face="sans-serif">/dev/sda3 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;2494 &nbsp; &nbsp; &nbsp; &nbsp;2611 &nbsp; &nbsp; &nbsp;939008
&nbsp; 83 &nbsp;Linux</font>
<br>
<br><font size=2 face="sans-serif">Disk /dev/sdb: 42.9 GB, 42949672960
bytes</font>
<br><font size=2 face="sans-serif">255 heads, 63 sectors/track, 5221 cylinders</font>
<br><font size=2 face="sans-serif">Units = cylinders of 16065 * 512 = 8225280
bytes</font>
<br><font size=2 face="sans-serif">Sector size (logical/physical): 512
bytes / 512 bytes</font>
<br><font size=2 face="sans-serif">I/O size (minimum/optimal): 512 bytes
/ 512 bytes</font>
<br><font size=2 face="sans-serif">Disk identifier: 0x00064540</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp;Device Boot &nbsp; &nbsp;
&nbsp;Start &nbsp; &nbsp; &nbsp; &nbsp; End &nbsp; &nbsp; &nbsp;Blocks
&nbsp; Id &nbsp;System</font>
<br><font size=2 face="sans-serif">/dev/sdb1 &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp;5222 &nbsp; &nbsp;41940992
&nbsp; 8e &nbsp;Linux LVM</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
Adam Niedzwiedzki<br>
<br>
c: eye media australia pty ltd<br>
a: suite 109, 685 burke rd, camberwell, victoria, 3124, au, earth<br>
p: +61 (0)3 8080 5850<br>
d: +61 (0)3 8080 5674<br>
f: +61 (0)3 8080 5840<br>
m: +61 (0)439 646 941<br>
w: </font><a href=http://www.eyemedia.com.au/><font size=2 face="sans-serif">http://www.eyemedia.com.au</font></a><font size=2 face="sans-serif"><br>
pgp: </font><a href=http://www.eyemedia.com.au/adamn.asc><font size=2 face="sans-serif">http://www.eyemedia.com.au/adamn.asc</font></a>
<br>
<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">Lars Ellenberg &lt;lars.ellenberg@linbit.com&gt;</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">14/07/2010 23:17</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] 1 Primary Node</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>On Wed, Jul 14, 2010 at 03:54:48PM +1000, adamn@eyemedia.com.au
wrote:<br>
&gt; Hi all,<br>
&gt; <br>
&gt; I have a physical server that I'm setting up as a SAN, the second
node <br>
&gt; won't be available to put online for at least a week. (migrating FROM
it <br>
&gt; to the NEW SAN setup)<br>
&gt; <br>
&gt; How do I tell DRBD to I guess stop trying to synchronise? I get pages
and <br>
&gt; pages of<br>
&gt; <br>
&gt; [28609.791929] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.797320] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.801638] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.807021] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.811691] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.816680] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.821531] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.826190] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.829968] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.833730] block drbd1: al_complete_io() called on inactive extent
623<br>
&gt; [28609.837759] block drbd1: al_complete_io() called on inactive extent
623<br>
<br>
Is that the only message that gets logged there?<br>
Nothing before?<br>
<br>
&quot;That should not happen&quot;, and actually if it does happen, either<br>
something is broken in your setup, or DRBD has a bug.<br>
<br>
&gt; I'm running version: 8.3.8.1 (api:88/proto:86-94)<br>
&gt; <br>
&gt; So in short I'm wanting to put my primary node online, migrate a bunch
of <br>
&gt; data from a &quot;current&quot; SAN (it's NOT running DRBD, around
7TB of data) to <br>
&gt; the primary, format rebuild the current THEN sync.<br>
<br>
That plan sounds ok, and should just work.<br>
<br>
-- <br>
: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting </font></tt><a href=http://www.linbit.com/><tt><font size=2>http://www.linbit.com</font></tt></a><tt><font size=2><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
__<br>
please don't Cc me, but send to list &nbsp; -- &nbsp; I'm subscribed<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>