ocfs2 requires a shared disk. As in, all nodes must be able to concurrently
read/write to the device.
So your second node can't see "/dev/hda9" of your first node. That
is
the problem.
Milind Dumbare wrote:
>HI all,
> I have two nodes in cluster, my /etc/ocfs2/cluster.conf as follows
>=============================================> cluster:
> node_count = 2
> name = mili
> node:
> ip_port = 7777
> ip_address = 192.168.1.23
> number = 7
> name = panini
> cluster = mili
> node:
> ip_port = 7777
> ip_address = 192.168.1.22
> number = 6
> name = xenon
> cluster = mili
>==============================================>I did
> #/etc/init.d/o2cb load
> &
> #/etc/init.d/o2cb start mili
>
>on both nodes it was successful.
>
>Then I did
> # mkfs.ocfs2 -b 4k -C 32K -L "drbd" -N 2 /dev/hda9
>on panini it was successful too
>then
> #mount -vt ocfs2 -L "test" /mnt/store/
>on panini, success again.
>
>now when I try to mount "test" on xenon (other node) its saying
> "no such partition"
>
>Please help me out.
>
>
>