<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>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><FONT color=#ff0000></FONT> </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><FONT color=#ff0000></FONT> </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><FONT color=#ff0000></FONT> </DIV>
<DIV><FONT color=#ff0000></FONT> </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><FONT color=#ff0000></FONT> </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 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></BODY></HTML>