<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: 宋体;
}
@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
}
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> </div>
<div><font face="Verdana" size="2">
<div> </div>
<div><font face="Verdana" size="2">Dear all,</font></div>
<div> </div>
<div> 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> </div>
<div>For example: ff_2</div>
<div> </div>
<div>First, the new created file: ff_2</div>
<div> </div>
<div>
<div>[root@test02 ~]# ll /testfs/mydir</div>
<div>total 50941</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4</div>
<div>-rw-rw-r-- 1 test test 0 Jan 12 11:38 ff_1</div>
<div>-<font color="#ff0000">rw-rw-r-- 1 test test
5242880 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div>From server side, we have 2 bricks and we can see the
ff_2 status:</div>
<div> </div>
<div> </div>
<div>
<div>brick1:</div>
<div> </div>
<div>-rw-rw-r-- 1 test test 0 Jan 12 11:38 ff_1</div>
<div><font color="#ff0000">---------T 1 test test
0 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div>
<div>brick2:</div>
<div> </div>
<div> </div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4</div>
<div><font color="#ff0000">-rw-rw-r-- 1 test test
5242880 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div>After we restart gluterd service, we can see the
ownership of ff_2 was changed to root:root.</div>
</div>
</div>
<div> </div>
</div>
<div>
<div>brick1:</div>
<div> </div>
<div>-rw-rw-r-- 1 test test 0 Jan 12 11:38 ff_1</div>
<div><font color="#ff0000">---------T 1 test test
0 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div>
<div>brick2:</div>
<div> </div>
<div> </div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4</div>
<div><font color="#ff0000">-rw-rw-r-- 1 root root
5242880 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div> </div>
<div>Then, we can get the file list on client side:</div>
</div>
</div>
<div> </div>
<div>
<div>[root@test02 ~]# ll /testfs/mydir</div>
<div>total 50941</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3</div>
<div>-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4</div>
<div>-rw-rw-r-- 1 test test 0 Jan 12 11:38 ff_1</div>
<div>-<font color="#ff0000">rw-rw-r-- 1 root root
5242880 Jan 13 00:43 ff_2</font></div>
<div> </div>
<div> this problem has stucked me for days. Could someone
give us tips, thank you very much.</div>
<div> </div>
<div> </div>
<div>Cheers,</div>
<div>Qiulan</div>
</div>
<div> </div>
<div> </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>
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>