Peut être que la procédure de mise en place expliquée ici: http://wapiti.telecom-lille1.eu/commun/ens/peda/options/ST/RIO/pub/exposes/exposesrio2007/legrand-playez/howto.htm
peut aider. Ils utilisent la commande: drbdadm primary all Tiens nous au courant de tes avancés. Merci. Guillaume ----- Chaudier Fabien <[email protected]> a écrit : > Bonjour a tous, > > Cela fait quelques jours que j'essaye de mettre en place DRBD sur 2 machines > de test mais je bloque toujours au meme endroits. > La config est la suivante : > Sur pc406-139 : 2 disques : sda1 -> / , sda6 -> /usr , sdb1 -> utilisé pour > DRBD (/home), eth0 -> 134.214.xxx.xxx , eth2 -> 192.168.24.11 > > Sur pc406-127 : 2 disques : sda1 -> / , sda6 -> /usr , sdb1 -> utilisé pour > DRBD (/home), eth0 -> 134.214.xxx.xxx, eth1 -> 192.168.24.10 > > Le fichier /etc/drbd.conf est identique sur les deux machines > > global { > dialog-refresh 1; > usage-count no; > minor-count 5; > } > common { > } > resource r0 { > protocol C; > startup { > become-primary-on both; > } > disk { > on-io-error detach; > } > net { > allow-two-primaries; > after-sb-0pri discard-least-changes; > after-sb-1pri violently-as0p; > after-sb-2pri violently-as0p; > rr-conflict violently; > } > syncer { > rate 10M; > } > on pc406-127 { > device /dev/drbd0; > disk /dev/sdb1; > address 192.168.24.10:7788; > meta-disk internal; > } > on pc406-139 { > device /dev/drbd0; > disk /dev/sdb1; > address 192.168.24.11:7788; > meta-disk internal; > } > } > > pc406-139:~ # drbdadm create-md r0 > You want me to create a v08 style flexible-size internal meta data block. > There appears to be a v08 flexible-size internal meta data block > already in place on /dev/sdb1 at byte offset 37580959744 > Do you really want to overwrite the existing v08 meta-data? > [need to type 'yes' to confirm] yes > > Writing meta data... > initializing activity log > NOT initialized bitmap > New drbd meta data block successfully created. > > pc406-139:~ # drbdadm attach r0 > 0: Failure: (114) Lower device is already claimed. This usually means it is > mounted. > Command 'drbdsetup 0 disk /dev/sdb1 /dev/sdb1 internal --set-defaults -- > create-device --on-io-error=detach' terminated with exit code 10 > > pc406-139:~ # cat /proc/drbd > version: 8.3.7 (api:88/proto:86-92) > srcversion: 04F43AA72D62F7D4F0CB048 > 0: cs:Unconfigured > > Le probleme est que je ne vois pas à quoi le device est monté. > Le probleme est le meme sur pc406-127 > > Quelqu'un à déjà rencontré se problème ? > -- > Fabien CHAUDIER > Departement Biosciences > 11 av. Jean Capelle > 69621 Villeurbanne cedex > Tél. : 04 72 43 89 96 > Fax : 04 72 43 85 11 > ------------------------------------ > Are You Environmentalist ? > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
