[Gluster-users] Cannot delete files with glusterfs-booster

Kamal K. Varma kamal at gluster.com
Tue Feb 23 01:41:59 UTC 2010


Hi Johan,

May I ask why you want to use glusterfs-booster?

With our 3.0.0 release back in Dec 2009, we observed as good (if not 
better) performance with the native FUSE mount we introduced.  Using it 
is more seamless (no need to set LD_PRELOAD).

Kamal

Johan Moe wrote:
> I'm trying to get rm to work with glusterfs-booster. I've tried it on
> different computers, with different configuration files, but I simple
> can't make it work. ls
> and cat work just fine, but whenever I try to delete or write to a
> file, it says that the file doesn't exist.
> 
> LD_PRELOAD="/usr/local/lib/glusterfs/glusterfs-booster.so" rm
> /mnt/gluster/test/test.txt
> rm: cannot remove "/mnt/gluster/test/test.txt": No such file or directory
> 
> Im running the following version, but I've also tried checking out the
> source with git, giving the same result.
> 
> glusterfs 3.0.2 built on Feb 19 2010 12:28:49
> Repository revision: v3.0.2
> 
> What am I doing wrong? Thanks for any help.
> 
> Johan Moe
> 
> 
> 
> glusterfs-booster configuration file:
> 
> /etc/glusterfs/glusterfs.vol /mnt/gluster glusterfs
> subvolume=localhost,logfile=/tmp/booster.log,loglevel=DEBUG,attr_timeout=0
> 
> 
> 
> #####################################
> ###  GlusterFS Client Volume File  ##
> #####################################
> 
> volume localhost
>   type protocol/client
>   option transport-type tcp
>   option remote-host localhost
>   option transport.socket.nodelay on
>   option transport.remote-port 6996
>   option remote-subvolume posix
> end-volume
> 
> 
> 
> #####################################
> ###  GlusterFS Server Volume File  ##
> #####################################
> 
> volume posix
>  type storage/posix
>  option directory /home/export
> end-volume
> volume server-tcp
>   type protocol/server
>   option transport-type tcp
>   option auth.addr.posix.allow 127.0.0.1
>   option transport.socket.listen-port 6996
>   option transport.socket.nodelay on
>   subvolumes posix
> end-volume
> 
> 
> glusterfs-booster log file:
> 
> [2010-02-19 13:44:22] D [client-protocol.c:6585:init] localhost:
> defaulting frame-timeout to 30mins
> [2010-02-19 13:44:22] D [client-protocol.c:6596:init] localhost:
> defaulting ping-timeout to 42
> [2010-02-19 13:44:22] D [transport.c:145:transport_load] transport:
> attempt to load file
> /usr/local/lib/glusterfs/3.0.2/transport/socket.so
> [2010-02-19 13:44:22] W [xlator.c:655:validate_xlator_volume_options]
> localhost: option 'transport.remote-port' is deprecated, preferred is
> 'remote-port', continuing with corr
> ection
> [2010-02-19 13:44:22] D [xlator.c:284:_volume_option_value_validate]
> localhost: no range check required for 'option remote-port 6996'
> [2010-02-19 13:44:22] D [transport.c:145:transport_load] transport:
> attempt to load file
> /usr/local/lib/glusterfs/3.0.2/transport/socket.so
> [2010-02-19 13:44:22] D [xlator.c:284:_volume_option_value_validate]
> localhost: no range check required for 'option remote-port 6996'
> [2010-02-19 13:44:22] D [client-protocol.c:7009:notify] localhost: got
> GF_EVENT_PARENT_UP, attempting connect on transport
> [2010-02-19 13:44:22] D [client-protocol.c:7009:notify] localhost: got
> GF_EVENT_PARENT_UP, attempting connect on transport
> [2010-02-19 13:44:22] D [client-protocol.c:7009:notify] localhost: got
> GF_EVENT_PARENT_UP, attempting connect on transport
> [2010-02-19 13:44:22] D [client-protocol.c:7009:notify] localhost: got
> GF_EVENT_PARENT_UP, attempting connect on transport
> [2010-02-19 13:44:22] D [client-protocol.c:7023:notify] localhost: got
> GF_EVENT_CHILD_UP
> [2010-02-19 13:44:22] D [client-protocol.c:7023:notify] localhost: got
> GF_EVENT_CHILD_UP
> [2010-02-19 13:44:22] N [client-protocol.c:6228:client_setvolume_cbk]
> localhost: Connected to 127.0.0.1:6996, attached to remote volume
> 'posix'.
> [2010-02-19 13:44:22] N [client-protocol.c:6228:client_setvolume_cbk]
> localhost: Connected to 127.0.0.1:6996, attached to remote volume
> 'posix'.
> [2010-02-19 13:44:22] D
> [libglusterfsclient.c:1744:libgf_vmp_map_ghandle] libglusterfsclient:
> New Entry: /mnt/gluster
> [2010-02-19 13:44:22] D
> [libglusterfsclient.c:1487:libgf_init_vmpentry] libglusterfsclient:
> New VMP entry: /mnt/gluster
> [2010-02-19 13:44:22] D
> [libglusterfsclient.c:1755:libgf_vmp_map_ghandle] libglusterfsclient:
> Empty list
> [2010-02-19 13:44:22] D [booster.c:1252:booster_init] booster: booster is inited
> [2010-02-19 13:44:22] D
> [libglusterfsclient.c:1643:_libgf_vmp_search_entry]
> libglusterfsclient: VMP Search: path /mnt/gluster/, type: Exact
> 
> 
> 
> glusterfsd log file:
> 
> ================================================================================
> Version      : glusterfs 3.0.2 built on Feb 19 2010 12:28:49
> git: v3.0.2
> Starting Time: 2010-02-19 13:44:17
> Command line : /usr/local/sbin/glusterfsd -f
> /etc/glusterfs/glusterfsd.vol -l /var/log/glusterfs/glusterfsd.log
> PID          : 14657
> System name  : Linux
> Nodename     : johan
> Kernel Release : 2.6.31-gentoo-r6
> Hardware Identifier: x86_64
> 
> Given volfile:
> +------------------------------------------------------------------------------+
>  1: #####################################
>  2: ###  GlusterFS Server Volume File  ##
>  3: #####################################
>  4:
>  5: volume posix
>  6:  type storage/posix
>  7:  option directory /home/export
>  8: end-volume
>  9: volume server-tcp
> 10:    type protocol/server
> 11:    option transport-type tcp
> 12:    option auth.addr.posix.allow 127.0.0.1
> 13:    option transport.socket.listen-port 6996
> 14:    option transport.socket.nodelay on
> 15:    subvolumes posix
> 16: end-volume
> 
> +------------------------------------------------------------------------------+
> [2010-02-19 13:44:17] N [glusterfsd.c:1396:main] glusterfs: Successfully started
> [2010-02-19 13:44:22] N [server-protocol.c:5812:mop_setvolume]
> server-tcp: accepted client from 127.0.0.1:1021
> [2010-02-19 13:44:22] N [server-protocol.c:5812:mop_setvolume]
> server-tcp: accepted client from 127.0.0.1:1020
> [2010-02-19 13:44:22] N [server-protocol.c:6748:notify] server-tcp:
> 127.0.0.1:1021 disconnected
> [2010-02-19 13:44:22] N [server-protocol.c:6748:notify] server-tcp:
> 127.0.0.1:1020 disconnected
> [2010-02-19 13:44:22] N
> [server-helpers.c:842:server_connection_destroy] server-tcp: destroyed
> connection of johan-14660-2010/02/19-13:44:22:791641-localhost
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list