Hello folkz,

My DRBD is running with allow-two-primaries option on two nodes node1 & node2.
I've created ocfs2 partition with the label "data" on top of drbd block device 
/dev/drbd0 and mounted it as /data on the both nodes.
Now my question is about how to mount this remote ocfs2 partition from either 
node 1 or 2 onto another node3.
Do I have only one option to export /data partition over NFS from node1 or 
node2 to the remaining node3, or I can somehow mount ocfs2 share without 
reliance on NFS?

On all three nodes I have this configuration in /etc/ocfs2/cluster.conf

<-------------------- snipped ----------------------->
 cluster:
    node_count  = 3
    name        = nas

node:
    ip_port     = 7777
    ip_address  = 192.168.0.1
    number      = 1
    name        = node1
    cluster     = nas

node:
    ip_port     = 7777
    ip_address  = 192.168.0.2
    number      = 2
    name        = node2
    cluster     = nas

node:
    ip_port     = 7777
    ip_address  = 192.168.0.3
    number      = 3
    name        = node3
    cluster     = nas

<-------------------- snipped ----------------------->

/etc/init.d/o2cb.init status shows:

<-------------------- snipped ----------------------->

Driver for "configfs": Loaded
Filesystem "configfs": Mounted
Stack glue driver: Loaded
Stack plugin "o2cb": Loaded
Driver for "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster nas: Online
Heartbeat dead threshold = 31
<-------------------- snipped ----------------------->

Based on this information:
http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Using_OCFS2_A_Clustering_File_System

I tried to mount ocfs2 onto the node3 

mount -L "data" /data

but got just mount: relocation error and that is it.

The same thing happened on node1 and node2.

Could somebody please help me to clarify this issue.

Thank you in advance,

Alex







      
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to