[Ocfs2-users] Permission denied on ocfs2 cluster

Sunil Mushran sunil.mushran at oracle.com
Thu Mar 15 09:19:57 PDT 2012


strace may show more. I would first confirm that my perms are correct.

On 03/15/2012 07:58 AM, ?????? wrote:
> I am testing the scheme of drbd and ocfs2
>
> If you attempt to write to the cluster error:
>
> [root at noc-1-m77 share]# mkdir 12
>
> mkdir: cannot create directory `12': Permission denied
>
> [root at noc-1-m77 share]#
>
> Config:
>
> [root at noc-1-m77 /]# cat /etc/ocfs2/cluster.conf
>
> cluster:
>
> node_count = 2
>
> name = cluster-ocfs2
>
> node:
>
> ip_port = 7777
>
> ip_address = 10.1.20.10
>
> number = 0
>
> name = noc-1-synt.rutube.ru
>
> cluster = cluster-ocfs2
>
> node:
>
> ip_port = 7777
>
> ip_address = 10.2.20.9
>
> number = 1
>
> name = noc-1-m77.rutube.ru
>
> cluster = cluster-ocfs2
>
> logs:
>
> Mar 15 05:42:04 noc-1-synt kernel: OCFS2 1.5.0
>
> Mar 15 05:42:04 noc-1-synt kernel: o2dlm: Nodes in domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C: 1
>
> Mar 15 05:42:04 noc-1-synt kernel: ocfs2: Mounting device (147,0) on
> (node 1, slot 0) with ordered data mode.
>
> Mar 15 05:42:07 noc-1-synt kernel: o2net: accepted connection from node
> noc-1-m77.rutube.ru (num 2) at 10.2.20.9:7777
>
> Mar 15 05:42:11 noc-1-synt kernel: o2dlm: Node 2 joins domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C
>
> Mar 15 05:42:11 noc-1-synt kernel: o2dlm: Nodes in domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C: 1 2
>
> Mar 15 05:50:54 noc-1-synt kernel: o2dlm: Node 2 leaves domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C
>
> Mar 15 05:50:54 noc-1-synt kernel: o2dlm: Nodes in domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C: 1
>
> Mar 15 05:50:56 noc-1-synt kernel: o2net: connection to node
> noc-1-m77.rutube.ru (num 2) at 10.2.20.9:7777 shutdown, state 8
>
> Mar 15 05:50:56 noc-1-synt kernel: o2net: no longer connected to node
> noc-1-m77.rutube.ru (num 2) at 10.2.20.9:7777
>
> Mar 15 05:51:12 noc-1-synt kernel: ocfs2: Unmounting device (147,0) on
> (node 1)
>
> Mar 15 05:51:45 noc-1-synt kernel: o2net: accepted connection from node
> noc-1-m77.rutube.ru (num 2) at 10.2.20.9:7777
>
> Mar 15 05:51:47 noc-1-synt kernel: o2dlm: Nodes in domain
> 5426CCF9AC414CD59E78F3AE48B9DE2C: 1 2
>
> Mar 15 05:51:47 noc-1-synt kernel: ocfs2: Mounting device (147,0) on
> (node 1, slot 1) with ordered data mode.
>
> How do I fix this?
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list