[DRBD-user] ocfs2 over drbd

Carlos Xavier cbastos at connection.com.br
Tue Dec 11 12:17:10 CET 2007

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


Hi,
I'm trying to run a OCFS2 filesystem over the DRBD layer.
Before trying with the OCFS2 i tested the system creating a LVM logical 
volume with the DRBD device and formated it with XFS. I could mount this 
files system on both machines with the role primary/secondary with no 
trouble.
After that i removed all the lvm configuration and changed my DRBD 
configuration so as to allow primary/primary. I formated the hole partition 
as a OCFS2 filesystem, started the cluster service but when i try to mount 
the filesystem i gottis error:

root at apolo1:~# mount -t ocfs2 /dev/drbd0 /clusterdisk
mount.ocfs2: Invalid argument while mounting /dev/drbd0 on /clusterdisk. 
Check 'dmesg' for more information on this error.

this is my DRBD status:
root at apolo1:~# /etc/rc.d/drbd status
drbd driver loaded OK; device status:
version: 8.2.1 (api:86/proto:86-87)
GIT-hash: 318925802fc2638479ad090b73d7af45503dd184 build by 
root at apolo1.net.centralcard.com.br, 2007-11-29 13:33:04
 0: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---
    ns:1750104 nr:234083936 dw:235834040 dr:6814 al:657 bm:14288 lo:0 pe:0 
ua:0 ap:0
        resync: used:0/31 hits:14615958 misses:14288 starving:0 dirty:0 
changed:14288
        act_log: used:0/257 hits:205176 misses:705 starving:0 dirty:48 
changed:657

and my OCFS@ status:
root at apolo1:~# /etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster cldisk: Online
Heartbeat dead threshold = 7
  Network idle timeout: 10000
  Network keepalive delay: 5000
  Network reconnect delay: 2000
Checking O2CB heartbeat: Not active


I'm on a Slackware system with this kernel version:
root at apolo1:~# uname -a
Linux apolo1 2.6.21.5-smp #1 SMP Tue Jun 19 14:52:25 CDT 2007 i686 Dual-Core 
AMD Opteron(tm) Processor 2210 AuthenticAMD GNU/Linux

Doing some research on the list i have found those two threads related to 
this issue:
http://lists.linbit.com/pipermail/drbd-user/2007-January/006346.html
http://lists.linbit.com/pipermail/drbd-dev/2007-January/000613.html

Please can you tell me it this still apply to my kernel version? Can you 
point me the way to solve this issue?

Tanks in advance for your attention,

Carlos




More information about the drbd-user mailing list