[Gluster-users] features/trash

eagleeyes eagleeyes at 126.com
Thu Jun 18 08:35:44 UTC 2009


Hello:
     i test with testing/features/trash in gluster2.0.0.and the debug log is this :
     
2009-06-18 16:21:29 D [spec.y:188:new_section] parser: New node for 'trash1'
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
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
2009-06-18 16:21:29 D [spec.y:214:section_type] parser: Type:trash1:testing/features/trash
2009-06-18 16:21:29 D [spec.y:243:section_option] parser: Option:trash1:trash-dir:/.trashcan
2009-06-18 16:21:29 D [spec.y:312:section_sub] parser: child:trash1->brick1
2009-06-18 16:21:29 D [spec.y:327:section_end] parser: end:trash1

    when i "rm" some files in gluster directory, the trash directory had nothing . I FAILD AGAIN .
==================================================================
the configure file of server was :

volume posix1
  type storage/posix                   # POSIX FS translator
  option directory /data/data1    # Export this directory
end-volume
volume posix2
  type storage/posix                   # POSIX FS translator
  option directory /data/data2    # Export this directory
end-volume
volume brick1
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix1
end-volume
volume brick2
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix2
end-volume
  
volume trash1
  type  testing/features/trash
  option trash-dir /.trashcan
  subvolumes brick1
end-volume
volume trash2
  type testing/features/trash
  option trash-dir /.trashcan
  subvolumes brick2
end-volume
volume server
  type protocol/server
  option transport-type tcp
  option transport.socket.bind-address 172.20.92.184     # Default is to listen on all interfaces
  option transport.socket.listen-port 6996
  subvolumes brick1 brick2
  option auth.addr.brick1.allow * # Allow access to "brick" volume
  option auth.addr.brick2.allow * # Allow access to "brick" volume
end-volume
 ==============================================================
the client configur was :

volume client1
  type protocol/client
  option transport-type tcp
  option remote-host 172.20.92.184         # IP address of the remote brick
  option remote-port 6996
  option remote-subvolume brick1       # name of the remote volume
end-volume

volume client2
  type protocol/client
  option transport-type tcp
  option remote-host 172.20.92.184         # IP address of the remote brick
  option remote-port 6996
  option remote-subvolume brick2       # name of the remote volume
end-volume

volume stripe
  type cluster/dht
  subvolumes  client1  client2 
end-volume


2009-06-18 



eagleeyes 



发件人: Anand Babu 
发送时间: 2009-06-18  16:23:32 
收件人: eagleeyes 
抄送: Ate Poorthuis; gluster-users 
主题: Re: [Gluster-users] features/trash 
Hi there,
Translators that are not widely tested by user community are moved into testing category.
Can you please test trash and let us know if you face any problems?.
--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://unlocksmith.org]
GlusterFS [http://www.gluster.org]
GNU/Linux [http://www.gnu.org]
eagleeyes wrote:
> Thanks a lot
>  
>  
> 2009-06-18
> ------------------------------------------------------------------------
> eagleeyes
> ------------------------------------------------------------------------
> *发件人:* Ate Poorthuis
> *发送时间:* 2009-06-18  16:08:16
> *收件人:* eagleeyes
> *抄送:* gluster-users
> *主题:* Re: [Gluster-users] features/trash
> Hi,
> 
> You can just define the type as 'testing/features/trash' instead of 
> 'features/trash' in the vol file. Please realize that it is probably in 
> testing for a reason - I don't know which one though.
> 
> Ate
> 
> 2009/6/18 eagleeyes <eagleeyes at 126.com <mailto:eagleeyes at 126.com>>
> 
>     Hello:
>          I want to use features/trash  in gluster2.0.0 servers ,but when
>     i start  gluster server ,it tell  me  this :
>         
>     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:
>      No such file or directory
>     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
>          so i find the trash.so was in
>     /lib/glusterfs/2.0.0/xlator/testing/features/trash.so ,what should i
>     do if i want use  features/trash  ? I try copy the file from
>     /lib/glusterfs/2.0.0/xlator/testing/features/ into the
>     /lib/glusterfs/2.0.0/xlator/features/,but it didn't work .
>          Who can help me ? waiting for your return ! thanks a lot .
> 
>     _______________________________________________
>     Gluster-users mailing list
>     Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
>     http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090618/d56d0575/attachment.html>


More information about the Gluster-users mailing list