[DRBD-user] drbd install problem

王炳强 acme.woo at gmail.com
Tue Oct 13 11:39:36 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


hi,

  # two vbos host database1 and database2
# A database1    192.168.1.181    2.6.26-1-686
# B database2    192.168.1.182    2.6.26-1-686

# cause install drbd via apt-get will need to install
# drbd modules, and when install drbd modules it will
# install kernel 2.6.26-2-686, so today i try to instal
# drbd8 via source

# on database1/2
> apt-get install flex
> cd /usr/src
> wget http://oss.linbit.com/drbd/8.3/drbd-8.3.4.tar.gz
> tar -xvf drbd-8.3.4.tar.gz
> cd drbd-9.3.4/drbd
> make clean all
> cd ..
> make tools
> make install
> make install-tools
# then modify /etc/drbd.conf and do set just like
# i did on 22-09-2009 via apt.
# everything with no issue until mount, when i did
> mount /dev/drbd0 /data
# on both, it shows exception
    mount.ocfs2: Invalid argument while mounting /dev/drbd1 on /data. Check
'dmesg' for more information on this error.
# the 'dmesg' on database1 is(type command mount on database1 first )
    [ 2372.313025] o2net: accepted connection from node database2 (num 1) at
192.168.1.182:7777
    [ 2373.313159] ocfs2_dlm: Nodes in domain
("2CB614EFAA2246CE8AC37D5F5E32EDDA"): 0
    [ 2373.339646] JBD: no valid journal superblock found
    [ 2373.340077] (3059,0):ocfs2_journal_wipe:770 ERROR: status = -22
    [ 2373.340230] (3059,0):ocfs2_check_volume:1695 ERROR: status = -22
    [ 2373.340240] (3059,0):ocfs2_mount_volume:1235 ERROR: status = -22
    [ 2376.049733] ocfs2_dlm: Node 1 joins domain
2CB614EFAA2246CE8AC37D5F5E32EDDA
    [ 2376.049733] ocfs2_dlm: Nodes in domain
("2CB614EFAA2246CE8AC37D5F5E32EDDA"): 0 1
    [ 2379.984272] ocfs2_dlm: Node 1 leaves domain
2CB614EFAA2246CE8AC37D5F5E32EDDA
    [ 2379.984363] ocfs2_dlm: Nodes in domain
("2CB614EFAA2246CE8AC37D5F5E32EDDA"): 0
    [ 2380.484602] ocfs2: Unmounting device (147,1) on (node 0)
    [ 2381.293484] o2net: no longer connected to node database2 (num 1) at
192.168.1.182:7777
# the 'dmesg' on database2 is similar to database1 just with no the lines
contain 'ocfs2_dlm'
# and the drbd status(cat /proc/drbd) is
    0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r----
# but the status of drbd on 22-09-2009 is
    0: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---


if this is because the status one is 'ro' another one is 'st'? how can i
slove this problem? if i install drbd via apt
on debian5 how can i install modules without install kernel 2.6.26-2-686?

thanks.

woo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091013/6dd834c1/attachment.htm>


More information about the drbd-user mailing list