<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi everybody<br><br>I set up device-mapper under centOS6.3.<br>I started drbd but drbd didn't start.<br><br>#/etc/rc.d/init.d/drbd start<br>Starting DRBD resources: [<br> create res: r0<br> prepare disk: r0<br> adjust disk: r0:failed(attach:10)<br> adjust net: r0<br>]....<br><br>multipath<br># multipath -ll<br>mpatha dm-0 IFT,DS S16F-R1440<br>size=7.6T features='0' hwhandler='0' wp=rw<br>|-+- policy='round-robin 0' prio=1 status=active<br>| `- 5:0:0:0 sdb 8:16 active ready running<br>`-+- policy='round-robin 0' prio=1 status=enabled<br> `- 1:0:0:0 sda 8:0 active ready running<br><br>/etc/multipath.conf<br><pre class="screen">defaults {
user_friendly_names yes
}</pre>devices {<br> device {<br> vendor "IFT "<br> product "DS S16F-R1440"<br> path_grouping_policy multibus<br> #path_grouping_policy failover<br> getuid_callout "/lib/udev/scsi_id --whitelisted
--device<br>=/dev/%n"<br> path_checker readsector0<br> path_selector "round-robin 0"<br> hardware_handler "0"<br> failback 15<br> rr_weight
priorities<br> no_path_retry 15<br> #no_path_retry queue<br> }<br>}<br>blacklist{<br> devnode "^drbd*"<br># devnode *<br> device {<br> vendor "SEAGATE"<br> product "*"<br> }<br>
device {<br> vendor "Dell"<br> product "*"<br> }<br> device {<br> vendor ""iDRAC<br> product "*"<br> }<br> }<br><br>drbd Ver8.4.4<br><br>/etc/drbd.conf<br><br># more /etc/drbd.conf<br>#<br># please have a a look at the example configuration file in<br># /usr/share/doc/drbd83/drbd.conf<br>#<br>common
{<br> disk {<br> max-bio-bvecs 1;<br> #on-io-error call-local-io-erro;<br> }<br>}<br><br>resource r0 {<br> protocol C;<br><br><br> net {<br> sndbuf-size 512K;<br> ping-int 10;<br> ping-timeout 10;<br> connect-int 10;<br> timeout 80;<br> ko-count 0;<br> max-buffers 8000;<br> max-epoch-size 8000;<br> }<br><br>syncer {<br> rate 80M;<br> verify-alg md5;<br> al-extents 3833;<br>}<br><br> on centos1 {<br> device /dev/drbd0;<br> disk /dev/mapper/mpatha;<br> address
172.26.24.153:7790;<br> flexible-meta-disk /dev/sdc6;<br> }<br> on centos2 {<br> device /dev/drbd0;<br> disk /dev/mapper/mpatha;<br> address 172.26.24.155:7790;<br> flexible-meta-disk /dev/sdc6;<br> }<br>}<br><br>/var/log/messages<br>May 8 16:16:56 centos1 kernel: drbd: initialized. Version: 8.4.4 (api:1/proto:86-101)<br>May 8 16:16:56 centos1 kernel: drbd: GIT-hash: 74402fecf24da8e5438171ee8c19e28627e1c98a build by root@centos63, 2014-04-25 21:53:13<br>May 8 16:16:56 centos1 kernel: drbd: registered as block device major 147<br>May 8 16:16:56 centos1 kernel: drbd r0: Starting worker thread (from drbdsetup [5231])<br>May 8 16:16:56 centos1 kernel: block drbd0: open("/dev/mapper/mapatha") failed with -16<br>May 8 16:16:56 centos631 kernel: block drbd0:
drbd_bm_resize called with capacity == 0<br>May 8 16:16:56 centos631 kernel: drbd r0: Terminating drbd_w_r0<br><br>Please help me.<br><br>Regards<br>Masahiko Kawase<br></td></tr></table>