Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Einen wunderschönen guten Tag! I've set up DRBD on Etch (Version: 0.7.21-4+028stab053.5) and it works fine. However, when i want to add a resource i need to restart DRBD. Trying to add a resource while DRBD is running makes it complain about a missing "/dev/drbd3". > server07:~# drbdadm adjust web05 > can not open /dev/drbd3: No such device or address > can not open /dev/drbd3: No such device or address > Command 'drbdsetup /dev/drbd3 disk /dev/vg1/web05 internal -1 --on-io-error=detach' terminated with exit code 20 The module is loaded: > server07:~# lsmod | grep drbd > drbd 147968 6 > server08:~# lsmod | grep drbd > drbd 147968 3 I created the missing device manually: > server07:~# ls -laht /dev/drbd* > brw-rw---- 1 root disk 147, 3 2008-08-13 11:01 /dev/drbd3 > brw-rw---- 1 root disk 147, 2 2008-08-12 22:38 /dev/drbd2 > brw-rw---- 1 root disk 147, 1 2008-08-12 21:46 /dev/drbd1 > brw-rw---- 1 root disk 147, 0 2008-08-12 21:46 /dev/drbd0 > server08:~# ls -laht /dev/drbd* > brw-rw---- 1 root disk 147, 3 2008-08-13 11:03 /dev/drbd3 > brw-rw---- 1 root disk 147, 0 2008-08-12 21:48 /dev/drbd0 > brw-rw---- 1 root disk 147, 1 2008-08-12 21:48 /dev/drbd1 > brw-rw---- 1 root disk 147, 2 2008-08-12 21:48 /dev/drbd2 ...and the other resources seem to work fine: > server07:~# cat /proc/drbd > version: 0.7.21 (api:79/proto:74) > SVN Revision: 2326 build by root at server07, 2008-03-13 01:29:12 > 0: cs:Connected st:Primary/Secondary ld:Consistent > ns:4764016 nr:0 dw:4764016 dr:654613 al:3364 bm:0 lo:0 pe:0 ua:0 ap:0 > 1: cs:Connected st:Primary/Secondary ld:Consistent > ns:6103952 nr:0 dw:6103952 dr:1055209 al:9111 bm:0 lo:0 pe:0 ua:0 ap:0 > 2: cs:Connected st:Primary/Secondary ld:Consistent > ns:31651520 nr:0 dw:1108616 dr:30598890 al:479 bm:5736 lo:0 pe:0 ua:0 ap:0 > server08:~# cat /proc/drbd > version: 0.7.21 (api:79/proto:74) > SVN Revision: 2326 build by root at server08, 2008-03-13 01:20:54 > 0: cs:Connected st:Secondary/Primary ld:Consistent > ns:0 nr:4765476 dw:4765476 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 > 1: cs:Connected st:Secondary/Primary ld:Consistent > ns:0 nr:6107608 dw:6107608 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 > 2: cs:Connected st:Secondary/Primary ld:Consistent > ns:0 nr:31651536 dw:31651536 dr:0 al:0 bm:5736 lo:0 pe:0 ua:0 ap:0 In the configugration file the sections differ in the (in my opinion) right) lines: > 1,2c1 > < > < resource "web05" { > --- > > resource "web04" { > 25,27c24,26 > < device /dev/drbd3; > < disk /dev/vg1/web05; > < address 10.10.208.7:27893; > --- > > device /dev/drbd2; > > disk /dev/vg1/web04; > > address 10.10.208.7:27892; > 32,34c31,33 > < device /dev/drbd3; > < disk /dev/vg1/web05; > < address 10.10.208.8:27893; > --- > > device /dev/drbd2; > > disk /dev/vg1/web04; > > address 10.10.208.8:27892; ...and i set "minor-count" from 2 to 9 during the last restart of DRBD to make my /dev/drbd2 work. Why does DRBD complain about "/dev/drbd3" missing? Grüße, Matthias