I have such a beginner's question that I'm almost too afraid to ask.
I successfully started the o2cb service and mounted a ocfs2
partition/volume:
[root@pandora 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 cluster ocfs2: Online
Checking heartbeat: Active
[root@pandora init.d]# mount | grep ocfs
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
/dev/mapper/vg0-ocfs2_test on /ocfs2 type ocfs2 (rw,_netdev,heartbeat=local)
[root@pandora init.d]# l /ocfs2/
total 13K
drwxr-xr-x 3 root root 4,0K Set 20 16:20 ./
drwxr-xr-x 28 root adm 4,0K Set 21 09:16 ../
-rw-r--r-- 1 root root 13 Set 20 16:59 testfile
drwxr-xr-x 2 root root 4,0K Set 20 16:20 lost+found/
Now what else should happen? I configured another node and also entered
the cluster from there, with identical results: service is active and fs
is mounted. What should I see there? I don't see "testfile" on the
other
node, for example, just an empty fs.
I tcpdumped the network and there is absolutely NO traffic between these
two machines. The docs say that once the fs is mounted the o2net thread
should initiate connections (or wait for them from other nodes). But
nothing of the sort happens.