Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
你好: I configured 2 resource, r0 and r1, device /dev/drbd0 can use,but /dev/drbd1 is not used, The error message is /sbin/drbdsetup /dev/drbd1 disk /dev/sda14 internal -1 --on-io-error=detach ioctl(,SET_DISK_CONFIG,) failed: Device or resource busy cat /etc/drbd.conf resource "r0" { protocol C; incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall; sleep 60; halt -f"; startup { wfc-timeout 1; ## 1 second degr-wfc-timeout 1; ## 1 second } disk { on-io-error detach; } net { # timeout 60; # connect-int 10; # ping-int 10; # max-buffers 2048; # max-epoch-size 2048; } syncer { rate 100M; group 1; #sync concurrently with r0 } on linux176 { device /dev/snbd0; disk /dev/sda14; address 192.168.1.176:7790; meta-disk internal; } on linux175 { device /dev/snbd0; disk /dev/sda14; address 192.168.1.175:7790; meta-disk internal; } } resource "r1" { protocol C; incon-degr-cmd "echo '!SNBD! pri on incon-degr' | wall; sleep 60; halt -f"; startup { wfc-timeout 1; ## 1 second degr-wfc-timeout 1; ## 1 second } disk { on-io-error detach; } net { # timeout 60; # connect-int 10; # ping-int 10; # max-buffers 2048; # max-epoch-size 2048; } syncer { rate 100M; group 1; #sync concurrently with r0 } on linux176 { device /dev/snbd1; disk /dev/sda15; address 192.168.1.176:7791; meta-disk internal; } on linux175 { device /dev/snbd1; disk /dev/sda15; address 192.168.1.175:7791; meta-disk internal; } } cat /proc/drbd 0: cs:StandAlone st:Secondary/Unknown ld:Consistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 1: cs:Unconfigured -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110216/8ebb979f/attachment.htm>