Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
Finally the DRBD is running, I made the tests :
@server01#mount -t ext3 /dev/drbd0 /mnt
@server01#cd /mnt/ ; echo running > newfile
@server01#cd / ; umount /dev/drbd0
@server01#drbdadm secondary all
@server02#drbdadm primary all
@server02#mount -t ext3 /dev/drbd0 /mnt
@server02#ls /mnt
@server02#cat /mnt/newfile
Then the file crated in server01 go to server02, but when I try cat /proc/drbd in two servers :
root at server1:~# cat /proc/drbd
version: 8.2.5 (api:88/proto:86-88)
GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root at ubuntu-cluster1, 2008-07-30 09:11:06
0: cs:Connected st:Secondary/Primary ds:UpToDate/Inconsistent C r---
ns:1854 nr:3288556 dw:3288628 dr:1920 al:2 bm:2 lo:0 pe:0 ua:0 ap:0
resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
act_log: used:0/127 hits:16 misses:2 starving:0 dirty:0 changed:2
root at ubuntu-cluster2:~# cat /proc/drbd
version: 8.2.5 (api:88/proto:86-88)
GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root at ubuntu-cluster2, 2008-07-30 09:11:50
0: cs:Connected st:Primary/Secondary ds:Inconsistent/UpToDate C r---
ns:3288556 nr:72 dw:3288628 dr:0 al:3080 bm:378 lo:0 pe:0 ua:0 ap:0
resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
act_log: used:0/127 hits:819059 misses:6104 starving:0 dirty:3024 changed:3080
I saech about Inconsistent in http://www.linux-ha.org/DRBD/FAQ, but I don't understanded.
It can to bring problems ?
Other doubts:
* I must the put the line in /etc/fstab of /dev/drb0 in my primary server ?
* I read that drbd cant be begin when the machine is reset.
Why it's happen ?
* How I can to start drbd ?
Best regards
Faria
ps : I think thso is not done manually
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