<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=RU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>I am testing the scheme of drbd and ocfs2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If you attempt to write to the cluster error:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@noc-1-m77 share]# mkdir 12<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>mkdir: cannot create directory `12': Permission denied<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@noc-1-m77 share]#<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>Config:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>[root@noc-1-m77 /]# cat /etc/ocfs2/cluster.conf<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>cluster:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; node_count = 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = cluster-ocfs2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>node:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 7777<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_address = 10.1.20.10<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = noc-1-synt.rutube.ru<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = cluster-ocfs2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>node:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_port = 7777<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ip_address = 10.2.20.9<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number = 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name = noc-1-m77.rutube.ru<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cluster = cluster-ocfs2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>logs:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:42:04 noc-1-synt kernel: OCFS2 1.5.0<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:42:04 noc-1-synt kernel: o2dlm: Nodes in domain 5426CCF9AC414CD59E78F3AE48B9DE2C: 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:42:04 noc-1-synt kernel: ocfs2: Mounting device (147,0) on (node 1, slot 0) with ordered data mode.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:42:11 noc-1-synt kernel: o2dlm: Node 2 joins domain 5426CCF9AC414CD59E78F3AE48B9DE2C<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:42:11 noc-1-synt kernel: o2dlm: Nodes in domain 5426CCF9AC414CD59E78F3AE48B9DE2C: 1 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:50:54 noc-1-synt kernel: o2dlm: Node 2 leaves domain 5426CCF9AC414CD59E78F3AE48B9DE2C<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:50:54 noc-1-synt kernel: o2dlm: Nodes in domain 5426CCF9AC414CD59E78F3AE48B9DE2C: 1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:51:12 noc-1-synt kernel: ocfs2: Unmounting device (147,0) on (node 1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:51:47 noc-1-synt kernel: o2dlm: Nodes in domain 5426CCF9AC414CD59E78F3AE48B9DE2C: 1 2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Mar 15 05:51:47 noc-1-synt kernel: ocfs2: Mounting device (147,0) on (node 1, slot 1) with ordered data mode.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>How do I fix this?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div></body></html>