Bug 762027 (GLUSTER-295) - booster does not work properly with ls
Summary: booster does not work properly with ls
Keywords:
Status: CLOSED DUPLICATE of bug 762065
Alias: GLUSTER-295
Product: GlusterFS
Classification: Community
Component: booster
Version: pre-2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-05 11:54 UTC by Krishna Srinivas
Modified: 2009-11-12 06:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Krishna Srinivas 2009-10-05 08:56:00 UTC
(In reply to comment #0)
> root@halt:/home/krishna/volfiles# cat booster.conf
> /home/krishna/volfiles/protocol-client.vol /mnt/glusterfs glusterfs
> logfile=/tmp/log.log,loglevel=TRACE
> root@halt:/home/krishna/volfiles#
> 
> do:
> export GLUSTERFS_BOOSTER_FSTAB=$(pwd)/booster.conf
> export LD_PRELOAD=/opt/glusterfs/lib/glusterfs/glusterfs-booster.so
> 
> root@halt:/home/krishna/volfiles# ls
>       ?´??         -client.vol~   -server-2.vol~  -server.vol~  -server2.vol 
> conf~  lient.vol   l~      t
>       -client.vol  -server-2.vol  -server.vol     -server1.vol  conf          l
>      lient.vol~  nt.vol
> root@halt:/home/krishna/volfiles#
> root@halt:/home/krishna/volfiles# ls /mnt/glusterfs
> aaaaa  asd  asd2
> root@halt:/home/krishna/volfiles#

same with rm:
root@halt:/home/krishna/volfiles# rm /mnt/glusterfs/asd
rm: cannot remove `/mnt/glusterfs/asd': No such file or directory
root@halt:/home/krishna/volfiles#

Comment 1 Krishna Srinivas 2009-10-05 11:54:44 UTC
root@halt:/home/krishna/volfiles# cat booster.conf
/home/krishna/volfiles/protocol-client.vol /mnt/glusterfs glusterfs logfile=/tmp/log.log,loglevel=TRACE
root@halt:/home/krishna/volfiles#

do:
export GLUSTERFS_BOOSTER_FSTAB=$(pwd)/booster.conf
export LD_PRELOAD=/opt/glusterfs/lib/glusterfs/glusterfs-booster.so

root@halt:/home/krishna/volfiles# ls
      ?´??         -client.vol~   -server-2.vol~  -server.vol~  -server2.vol  conf~  lient.vol   l~      t
      -client.vol  -server-2.vol  -server.vol     -server1.vol  conf          l      lient.vol~  nt.vol
root@halt:/home/krishna/volfiles#
root@halt:/home/krishna/volfiles# ls /mnt/glusterfs
aaaaa  asd  asd2
root@halt:/home/krishna/volfiles#

Comment 2 Shehjar Tikoo 2009-10-16 04:30:37 UTC
The problem has most probably got to do with exporting the GLUSTERFS_BOOSTER_FSTAB
variable globally and running the ls for a non-booster directory.

i.e. Do not expect generic commands to work with booster while not using an absolute path. This is most probably being caused because ls -l opens "." as the path.

Will look into this on a low priority basis as getting general core-utils to work with booster is not a priority task right now.

Comment 3 Shehjar Tikoo 2009-10-23 18:22:23 UTC
*** Bug 333 has been marked as a duplicate of this bug. ***

Comment 4 Raghavendra G 2009-10-26 12:08:15 UTC
I think we can close this bug, since 333 is fixed.

Comment 5 Shehjar Tikoo 2009-11-12 03:16:02 UTC

*** This bug has been marked as a duplicate of bug 333 ***


Note You need to log in before you can comment on or make changes to this bug.