<div dir="ltr"><div dir="ltr">Hi,<br><br>I have a problem between DRBD and iscsi disk mapping.<br><br>The problem is the following:<br><br>When I restart my Debian 9 server my DRBD service don&#39;t start, I believe  because the iscsi doesn&#39;t ready.<br><br>This is my log messages in /var//log/syslog:<br><br>Feb 21 12:03:25 bkp kernel: [   10.459216] scsi host11: iSCSI Initiator over TCP/IP<br>Feb 21 12:03:25 bkp kernel: [   10.470175]  connection1:0: detected conn error (1020)<br>Feb 21 12:03:25 bkp kernel: [   10.473609] scsi 11:0:0:0: Direct-Access     EQLOGIC  100E-00          10.0 PQ: 0 ANSI: 5<br>Feb 21 12:03:25 bkp kernel: [   10.550700] sd 11:0:0:0: [sdb] 32212254720 512-byte logical blocks: (16.5 TB/15.0 TiB)<br>Feb 21 12:03:25 bkp kernel: [   10.550747] sd 11:0:0:0: Attached scsi generic sg1 type 0<br>Feb 21 12:03:25 bkp kernel: [   10.551021] sd 11:0:0:0: [sdb] Write Protect is off<br>Feb 21 12:03:25 bkp kernel: [   10.551120] sd 11:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn&#39;t support DPO or FUA<br>Feb 21 12:03:25 bkp kernel: [   10.583534] sd 11:0:0:0: [sdb] Attached SCSI disk<br><br>Bellow, is my resourse file in /etc/drbd.d/hd-bacula.res<br><br>resource hd-bacula {<br><br>   on bkp {<br>        device    /dev/drbd0;<br>        disk      /dev/lun-hd-bacula;<br>        address   <a href="http://192.168.10.47:7790">192.168.10.47:7790</a>;<br>        meta-disk internal;<br>    }<br><br>    on bkp2 {<br>        device    /dev/drbd0;<br>        disk      /dev/lun-hd-bacula-2;<br>        address   <a href="http://192.168.10.1:7790">192.168.10.1:7790</a>;<br>        meta-disk internal;<br>    }<br>}<br><br>And /etc/drbd.d/global_common.conf<br><br>global {<br>    usage-count yes;<br>    # minor-count dialog-refresh disable-ip-verification<br>}<br><br>common {<br>    protocol C;<br>    handlers {<br>    # These are EXAMPLE handlers only.<br>    # They may have severe implications,<br>    # like hard resetting the node under certain circumstances.<br>    # Be careful when chosing your poison.<br><br>    # pri-on-incon-degr &quot;/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b &gt; /proc/sysrq-trigger ; reboot -f&quot;;<br>    # pri-lost-after-sb &quot;/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh; echo b &gt; /proc/sysrq-trigger ; reboot -f&quot;;<br>    # local-io-error &quot;/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o &gt; /proc/sysrq-trigger ; halt -f&quot;;<br>    # fence-peer &quot;/usr/lib/drbd/crm-fence-peer.sh&quot;;<br>    # split-brain &quot;/usr/lib/drbd/notify-split-brain.sh root&quot;;<br>    # out-of-sync &quot;/usr/lib/drbd/notify-out-of-sync.sh root&quot;;<br>    # before-resync-target &quot;/usr/lib/drbd/snapshot-resync-target-lvm.sh -p 15 -- -c 16k&quot;;<br>    # after-resync-target /usr/lib/drbd/unsnapshot-resync-target-lvm.sh;<br>    }<br><br>    startup {<br>    # wfc-timeout degr-wfc-timeout outdated-wfc-timeout wait-after-sb<br>    become-primary-on bkp;<br>    wfc-timeout 90;<br>    }<br><br>    options {<br>    # cpu-mask on-no-data-accessible<br>    }<br><br>    disk {<br>    # size on-io-error fencing disk-barrier disk-flushes<br>    # disk-drain md-flushes resync-rate resync-after al-extents<br>                # c-plan-ahead c-delay-target c-fill-target c-max-rate<br>                # c-min-rate disk-timeout<br>    }<br><br>    net {<br>    # protocol timeout max-epoch-size max-buffers unplug-watermark<br>    # connect-int ping-int sndbuf-size rcvbuf-size ko-count<br>    # allow-two-primaries cram-hmac-alg shared-secret after-sb-0pri<br>    # after-sb-1pri after-sb-2pri always-asbp rr-conflict<br>    # ping-timeout data-integrity-alg tcp-cork on-congestion<br>    # congestion-fill congestion-extents csums-alg verify-alg<br>    # use-rle<br>    data-integrity-alg sha1;<br>    cram-hmac-alg sha1;<br>    shared-secret &quot;dont forget me again&quot;;<br>    }<br>    syncer {<br>    # rate after al-extents use-rle cpu-mask verify-alg csums-alg<br>    rate 1000M;<br>    }<br><br>}<br><br>Can anybody help me ?<br><br>Regards,<br><br>Márcio Bacci<br></div></div>