No subject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



brick1:

-rw-rw-r-- 1 test test  0 Jan 12 11:38 ff_1
---------T 1 test test   0 Jan 13 00:43 ff_2

brick2:


-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3
-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4
-rw-rw-r-- 1 test test 5242880 Jan 13 00:43 ff_2

After we restart gluterd service, we can see the ownership of ff_2 was changed to root:root.

brick1:

-rw-rw-r-- 1 test test  0 Jan 12 11:38 ff_1
---------T 1 test test   0 Jan 13 00:43 ff_2

brick2:


-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_3
-rw-rw-r-- 1 test test 5242880 Jan 12 11:31 f_4
-rw-rw-r-- 1 root root 5242880 Jan 13 00:43 ff_2


Then, we can get the file list on client side:

[root at test02 ~]# ll /testfs/mydir
total 50941
-rw-rw-r-- 1 test  test  5242880 Jan 12 11:31 f_3
-rw-rw-r-- 1 test  test 5242880 Jan 12 11:31 f_4
-rw-rw-r-- 1 test  test    0 Jan 12 11:38 ff_1
-rw-rw-r-- 1 root  root 5242880 Jan 13 00:43 ff_2

 this problem has stucked me for days. Could someone  give us tips, thank you very much.


Cheers,
Qiulan


2013-01-15 



huangql 

--=====003_Dragon024612073468_=====
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

<!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>&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 at 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><FONT color=#ff0000></FONT>&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><FONT color=#ff0000></FONT>&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><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV><FONT color=#ff0000></FONT>&nbsp;</DIV>
<DIV>Then, we can get the file list on client side:</DIV></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>[root at 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><FONT color=#ff0000></FONT>&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></BODY></HTML>

--=====003_Dragon024612073468_=====--




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux