<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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 content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <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;&#20307;;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @&#23435;&#20307;;
}
@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" face="Verdana" size="2">
        <div>&nbsp;</div>
        <div><font face="Verdana" size="2">
            <div>&nbsp;</div>
            <div><font face="Verdana" size="2">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" face="Verdana"
                size="2">2013-01-15 </font></div>
            <font face="Verdana" size="2">
              <hr style="WIDTH: 122px; HEIGHT: 2px" align="left"
                size="2">
              <div><font color="#c0c0c0" face="Verdana" size="2"><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>
  </body>
</html>