Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Le 13/09/2010 15:30, Lars Ellenberg a écrit : > On Mon, Sep 13, 2010 at 03:22:48PM +0200, Sam Przyswa wrote: > >> Le 13/09/2010 06:40, Digimer a écrit : >> >>> On 10-09-12 08:28 PM, Sam Przyswa wrote: >>> >>>>> Your second node is messed up, by the looks of it. Work from your first >>>>> node. >>>>> >>>>> Stop both nodes' drbd (/etc/init.d/drbd stop) >>>>> >>>>> Now on 1st, run: >>>>> >>>>> drbdadm -- --overwrite-data-of-peer connect r0 >>>>> >>>>> >>>> I got: >>>> >>>> drbdsetup net: unrecognized option '--overwrite-data-of-peer' >>>> Command 'drbdsetup /dev/drbd0 net 88.190.11.187:7789 88.190.11.244:7789 >>>> B --set-defaults --create-device --overwrite-data-of-peer' terminated >>>> with exit code 20 >>>> >>>> :-( >>>> >>>> Sam. >>>> >>> Before you ran that, did you verify that both disks were attached? If >>> one of them still showed Diskless, it won't work. >>> >> Ok but I run DRBD v8.3.7 (both side) and lot of command from the >> http://www.drbd.org/docs/ are changed (it seems) as "drbdadm -- >> --clear-bitmap new-current-uuid ressource" return an error "Unknown >> command 'new-current-uuid' " >> > If that is an unknown command to drbdadm, you are NOT using drbd 8.3.7. > > Double check kernel _and_ userland versions of DRBD. > Argh... I run the kernel Linux vserver-2 2.6.32-bpo.5-vserver-686-bigmem with module drbd.ko from the right /lib/modules/<kernel>/... but the "aptitude show drbd8-utils give" "Version : 2:8.0.14-2+lenny1" on both side. I think it's the cause of my problems, I will get the "testing 8.3.7" Debian package and install it. Thanks a lot for your help. Sam.