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