<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16457">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Hi Pranith,</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>Many thanks for your suggestive reply. </FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>The&nbsp;gluster version I used is 3.2.7.&nbsp;It seems 
the same problem. However, I still don't know&nbsp;what actions&nbsp;cause 
client to send "protocol_client_reopen"&nbsp;to server side. And I&nbsp;failed 
to&nbsp;reproduce the bug&nbsp;each&nbsp;time.&nbsp;</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>I checked the source code, it looks like lock problem. 
</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;Delay&nbsp;notifying&nbsp;CHILD_UP&nbsp;to&nbsp;parents</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;until&nbsp;all&nbsp;locks&nbsp;are&nbsp;recovered&nbsp;*/</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(count&nbsp;&gt;&nbsp;0)&nbsp;{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gf_log&nbsp;(this-&gt;name,&nbsp;GF_LOG_INFO,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"%d&nbsp;fds&nbsp;open&nbsp;-&nbsp;Delaying&nbsp;child_up&nbsp;until&nbsp;they&nbsp;are&nbsp;re-opened",</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count);</DIV></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>Cheers,</FONT></DIV>
<DIV><FONT color=#000080>Qiulan</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2013-01-17 </FONT></DIV><FONT 
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>huangql</SPAN> </FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> Pranith Kumar K 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2013-01-16&nbsp; 18:15:46 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> huangql </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> gluster-devel; gluster-users 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> Re: [Gluster-devel] 
ownership of link file changed to root:root afterreboot brick service 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV class=moz-cite-prefix>On 01/16/2013 12:23 PM, huangql wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:201301161453398058011@ihep.ac.cn type="cite">
  <META name=GENERATOR content="MSHTML 9.00.8112.16457"><LINK rel=stylesheet 
  href="BLOCKQUOTE%7Bmargin-Top:%200px;%20margin-Bottom:%200px;%20margin-Left:%202em%7D">
  <META name=GENERATOR content="MSHTML 6.00.2900.2180">
  <STYLE>@font-face {
        font-family: &#23435;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @&#23435;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
  <FONT color=#000000 size=2 face=Verdana>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2 face=Verdana>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2 face=Verdana>Dear all,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have encountered a strange problem 
  that the ownership of linkto file was changed to root:root after we reboot 
  server. And I reproduced the problem many times.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>For example: ff_2</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>First, the new created file: ff_2</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV>[root@test02&nbsp;~]#&nbsp;ll&nbsp;/testfs/mydir</DIV>
  <DIV>total&nbsp;50941</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp; 
  test&nbsp;&nbsp;5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_3</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp;&nbsp;test&nbsp;5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_4</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp; test&nbsp;&nbsp;&nbsp; 
  0&nbsp;Jan&nbsp;12&nbsp;11:38&nbsp;ff_1</DIV>
  <DIV>-<FONT color=#ff0000>rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>From server side, we have 2 bricks&nbsp;and we&nbsp;can see the ff_2 
  status:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV>brick1:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test&nbsp; 
  0&nbsp;Jan&nbsp;12&nbsp;11:38&nbsp;ff_1</DIV>
  <DIV><FONT color=#ff0000>---------T&nbsp;1&nbsp;test test&nbsp;&nbsp; 
  0&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV>brick2:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_3</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_4</DIV>
  <DIV><FONT color=#ff0000>-rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>After we restart gluterd service, we can see the ownership of ff_2 was 
  changed to root:root.</DIV></DIV></DIV>
  <DIV>&nbsp;</DIV></DIV>
  <DIV>
  <DIV>brick1:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test&nbsp; 
  0&nbsp;Jan&nbsp;12&nbsp;11:38&nbsp;ff_1</DIV>
  <DIV><FONT color=#ff0000>---------T&nbsp;1&nbsp;test test&nbsp;&nbsp; 
  0&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV>brick2:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_3</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test test 
  5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_4</DIV>
  <DIV><FONT color=#ff0000>-rw-rw-r--&nbsp;1&nbsp;root root 
  5242880&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Then, we can get the file list on client side:</DIV></DIV></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <DIV>[root@test02&nbsp;~]#&nbsp;ll&nbsp;/testfs/mydir</DIV>
  <DIV>total&nbsp;50941</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp; 
  test&nbsp;&nbsp;5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_3</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp;&nbsp;test&nbsp;5242880&nbsp;Jan&nbsp;12&nbsp;11:31&nbsp;f_4</DIV>
  <DIV>-rw-rw-r--&nbsp;1&nbsp;test&nbsp; test&nbsp;&nbsp;&nbsp; 
  0&nbsp;Jan&nbsp;12&nbsp;11:38&nbsp;ff_1</DIV>
  <DIV>-<FONT color=#ff0000>rw-rw-r--&nbsp;1&nbsp;root&nbsp; root 
  5242880&nbsp;Jan&nbsp;13&nbsp;00:43&nbsp;ff_2</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;this problem has stucked me for days. Could someone&nbsp; give us 
  tips, thank you very much.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Cheers,</DIV>
  <DIV>Qiulan</DIV></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2013-01-15 
  </FONT></DIV><FONT size=2 face=Verdana>
  <HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

  <DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>huangql</SPAN> 
  </FONT></DIV></FONT></FONT></DIV></FONT><BR>
  <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
Gluster-devel mailing list
<A class=moz-txt-link-abbreviated href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</A>
<A class=moz-txt-link-freetext href="https://lists.nongnu.org/mailman/listinfo/gluster-devel">https://lists.nongnu.org/mailman/listinfo/gluster-devel</A>
</PRE></BLOCKQUOTE>hi 
Qiulan,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What version of 
glusterfs are you running?. The following bug seems similar to what you 
describe:<BR><A class=moz-txt-link-freetext 
href="https://bugzilla.redhat.com/show_bug.cgi?id=807976">https://bugzilla.redhat.com/show_bug.cgi?id=807976</A><BR><BR>Pranith.<BR></FONT></DIV></BODY></HTML>