setup drbd di ubuntu error

68 views
Skip to first unread message

Salam wilanjar

unread,
Dec 3, 2012, 6:21:20 PM12/3/12
to id-u...@googlegroups.com
langsung aja rekan-rekan saya mau tanya error di drbd
saya setup drbd di ubuntu :
apt-get install drbd8-utils

dan buat /etc/drbd.conf seperti di bawah :

global {
dialog-refresh  1;
usage-count     yes;
minor-count     5;
}
common {
syncer {
rate    10M;
}
}
resource r0 {
protocol        C;
disk {
on-io-error     detach;
}
syncer {
rate    10M;
al-extents      257;
}
on mercury {
device  /dev/drbd0;
address 192.168.1.104:7788;
meta-disk       internal;
disk    /dev/sda1;
}
on venus {
device  /dev/drbd0;
address 192.168.1.105:7788;
meta-disk       internal;
disk    /dev/sda1;
}
}

lalu buat meta data berhasil
sudo drbdadm create-md r0

node already registered
md_offset 995328
al_offset 962560
bm_offset 958464

Found some data

 ==> This might destroy existing data! <==

Do you want to proceed?
[need to type 'yes' to confirm] yes

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/sda1 at byte offset 995328
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.


tapi ketika saya restart/start

muncul error ini :

--==  Thank you for participating in the global usage survey  ==--
The server's response is:

node already registered
 * Starting DRBD resources                     
                                                                              [ d(r0) 0: Failure: (112) Meta device too small.

[r0] cmd /sbin/drbdsetup 0 disk /dev/sda1 /dev/sda1 internal --set-defaults --cr                                             eate-device --on-io-error=detach  failed - continuing!

s(r0) n(r0) ]..........
***************************************************************
 DRBD's startup script waits for the peer node(s) to appear.
 - In case this node was already a degraded cluster before the
   reboot the timeout is 0 seconds. [degr-wfc-timeout]
 - If the peer was available before the reboot the timeout will
   expire after 0 seconds. [wfc-timeout]
   (These values are for resource 'r0'; 0 sec -> wait forever)
 To abort waiting enter 'yes' [  28]

sudah coba googling : error 112 meta device to small namun belum bisa perbaiki.

mungkin ada yang bisa bantu atau pernah dapet error serupa ??

terima kasih rekan-rekan.

Dodik Kurniawan

unread,
Dec 5, 2012, 1:27:51 AM12/5/12
to id-u...@googlegroups.com

--
--
---------------------------------------------------------
Cara bertanya yang baik: http://wiki.linux.or.id/Cara_bertanya_yang_baik
Etika Milis: http://wiki.ubuntu-id.org/EtikaMilis
Milis: http://groups.google.com/group/id-ubuntu
 
 
 

pake drbd buat sync aplikasi server apa mas?
Reply all
Reply to author
Forward
0 new messages