Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I have a doubts about status DRBD, well look my configuration, i the end i put the doubts. See my status in DRBD: My rc.local: #ubuntu-cluster2 (master) /sbin/modprobe drbd /sbin/drbdadm attach r0 /sbin/drbdadm connect r0 /sbin/drbdadm -- --overwrite-data-of-peer primary r0 /sbin/drbdadm primary all exit 0 #slave #ubuntu-cluster1 (slave) /sbin/modprobe drbd /sbin/drbdadm attach r0 /sbin/drbdadm connect r0 /sbin/drbdadm secondary all root at ubuntu-cluster2:~# cat /proc/drbd version: 8.2.6 (api:88/proto:86-88) GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root at ubuntu-cluster2, 2008-08-19 13:20:20 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/DUnknown r--- ns:0 nr:0 dw:12 dr:126 al:0 bm:2 lo:0 pe:0 ua:0 ap:0 oos:12288 root at ubuntu-cluster1:~# cat /proc/drbd version: 8.2.6 (api:88/proto:86-88) GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by root at ubuntu-cluster1, 2008-08-19 13:19:15 0: cs:WFConnection st:Secondary/Unknown ds:UpToDate/DUnknown C r--- ns:0 nr:0 dw:8 dr:17 al:0 bm:1 lo:0 pe:0 ua:0 ap:0 oos:128 Status netsta -a : root at ubuntu-cluster2:~# netstat -a | grep 10.0.0.2 udp 0 0 10.0.0.2:netbios-ns *:* udp 0 0 10.0.0.2:netbios-dgm *:* root at ubuntu-cluster1:~# netstat -a |grep 10.0.0.1 tcp 0 0 10.0.0.1:7789 *:* LISTEN My /etc/drbd.conf root at ubuntu-cluster2:~# cat /etc/drbd.conf global { usage-count yes; } common { protocol C; } resource r0 { on ubuntu-cluster1 { device /dev/drbd0; disk /dev/sda4; address 10.0.0.1:7789; meta-disk internal; } on ubuntu-cluster2 { device /dev/drbd0; disk /dev/hdb4; address 10.0.0.2:7789; meta-disk internal; } Using this configuration o device /dev/drbd0 is mounted in ubuntu-cluster1 (node secondary). The status are Standalone and WFConnection. I think could be SynSource and Synctarget. What's the better state for all nodes ? best regards, Faria Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses