<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css>@import url( C:\Documents and Settings\fox\Local Settings\Temporary Internet Files\scrollbar.css );
</STYLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<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; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
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-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; 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>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Hello:</FONT></DIV>
<DIV><FONT color=#000080> i test with
testing/features/trash in gluster2.0.0.and the debug log is this :</FONT></DIV>
<DIV><FONT color=#000080>
<DIV>2009-06-18 16:21:29 D [spec.y:188:new_section] parser: New node for 'trash1'</DIV>
<DIV>2009-06-18 16:21:29 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /lib/glusterfs/2.0.0/xlator/testing/features/trash.so</DIV>
<DIV>2009-06-18 16:21:29 D [xlator.c:634:xlator_set_type] xlator: dlsym(notify) on /lib/glusterfs/2.0.0/xlator/testing/features/trash.so: undefined symbol: notify -- neglecting</DIV>
<DIV>2009-06-18 16:21:29 D [spec.y:214:section_type] parser: Type:trash1:testing/features/trash</DIV>
<DIV>2009-06-18 16:21:29 D [spec.y:243:section_option] parser: Option:trash1:trash-dir:/.trashcan</DIV>
<DIV>2009-06-18 16:21:29 D [spec.y:312:section_sub] parser: child:trash1->brick1</DIV>
<DIV>2009-06-18 16:21:29 D [spec.y:327:section_end] parser: end:trash1</DIV>
<DIV> </DIV>
<DIV> when i "rm" some files in gluster directory, the trash
directory had nothing . I FAILD AGAIN .</DIV>
<DIV>==================================================================</DIV>
<DIV>the configure file of server was :</DIV>
<DIV> </DIV>
<DIV>
<DIV>volume posix1</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data1 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix2</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data2 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume brick1</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix1</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick2</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix2</DIV>
<DIV>end-volume</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>volume trash1</DIV>
<DIV> type testing/features/trash</DIV>
<DIV> option trash-dir /.trashcan</DIV>
<DIV> subvolumes brick1</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume trash2</DIV>
<DIV> type testing/features/trash</DIV>
<DIV> option trash-dir /.trashcan</DIV>
<DIV> subvolumes brick2</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume server</DIV>
<DIV> type protocol/server</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option transport.socket.bind-address 172.20.92.184 # Default is to listen on all interfaces</DIV>
<DIV> option transport.socket.listen-port 6996</DIV>
<DIV> subvolumes brick1 brick2</DIV>
<DIV> option auth.addr.brick1.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick2.allow * # Allow access to "brick" volume</DIV>
<DIV>end-volume</DIV></DIV>
<DIV> ==============================================================</DIV>
<DIV>the client configur was :</DIV>
<DIV> </DIV>
<DIV>
<DIV>volume client1</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.184 # IP address of the remote brick</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> option remote-subvolume brick1 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>volume client2</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.184 # IP address of the remote brick</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> option remote-subvolume brick2 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume stripe</DIV>
<DIV> type cluster/dht</DIV>
<DIV> subvolumes client1 client2 </DIV>
<DIV>end-volume</DIV></DIV></FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-06-18 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>eagleeyes</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Anand Babu </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-06-18 16:23:32
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> eagleeyes </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> Ate Poorthuis; gluster-users
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [Gluster-users]
features/trash </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT></DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi there,</DIV>
<DIV>Translators that are not widely tested by user community are moved into testing category.</DIV>
<DIV>Can you please test trash and let us know if you face any problems?.</DIV>
<DIV>--</DIV>
<DIV>Anand Babu Periasamy</DIV>
<DIV>GPG Key ID: 0x62E15A31</DIV>
<DIV>Blog [http://unlocksmith.org]</DIV>
<DIV>GlusterFS [http://www.gluster.org]</DIV>
<DIV>GNU/Linux [http://www.gnu.org]</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>eagleeyes wrote:</DIV>
<DIV>> Thanks a lot</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> 2009-06-18</DIV>
<DIV>> ------------------------------------------------------------------------</DIV>
<DIV>> eagleeyes</DIV>
<DIV>> ------------------------------------------------------------------------</DIV>
<DIV>> *发件人:* Ate Poorthuis</DIV>
<DIV>> *发送时间:* 2009-06-18 16:08:16</DIV>
<DIV>> *收件人:* eagleeyes</DIV>
<DIV>> *抄送:* gluster-users</DIV>
<DIV>> *主题:* Re: [Gluster-users] features/trash</DIV>
<DIV>> Hi,</DIV>
<DIV>> </DIV>
<DIV>> You can just define the type as 'testing/features/trash' instead of </DIV>
<DIV>> 'features/trash' in the vol file. Please realize that it is probably in </DIV>
<DIV>> testing for a reason - I don't know which one though.</DIV>
<DIV>> </DIV>
<DIV>> Ate</DIV>
<DIV>> </DIV>
<DIV>> 2009/6/18 eagleeyes <eagleeyes@126.com <mailto:eagleeyes@126.com>></DIV>
<DIV>> </DIV>
<DIV>> Hello:</DIV>
<DIV>> I want to use features/trash in gluster2.0.0 servers ,but when</DIV>
<DIV>> i start gluster server ,it tell me this :</DIV>
<DIV>> </DIV>
<DIV>> 2009-06-18 15:41:57 E [xlator.c:598:xlator_set_type] xlator: /lib/glusterfs/2.0.0/xlator/features/trash.so: cannot open shared object file:</DIV>
<DIV>> No such file or directory</DIV>
<DIV>> 2009-06-18 15:41:57 E [spec.y:211:section_type] parser: volume 'trash1', line 27: type 'features/trash' is not valid or not found on this machine</DIV>
<DIV>> so i find the trash.so was in</DIV>
<DIV>> /lib/glusterfs/2.0.0/xlator/testing/features/trash.so ,what should i</DIV>
<DIV>> do if i want use features/trash ? I try copy the file from</DIV>
<DIV>> /lib/glusterfs/2.0.0/xlator/testing/features/ into the</DIV>
<DIV>> /lib/glusterfs/2.0.0/xlator/features/,but it didn't work .</DIV>
<DIV>> Who can help me ? waiting for your return ! thanks a lot .</DIV>
<DIV>> </DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> Gluster-users mailing list</DIV>
<DIV>> Gluster-users@gluster.org <mailto:Gluster-users@gluster.org></DIV>
<DIV>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> ------------------------------------------------------------------------</DIV>
<DIV>> </DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> Gluster-users mailing list</DIV>
<DIV>> Gluster-users@gluster.org</DIV>
<DIV>> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</DIV></FONT></DIV></BODY></HTML>