[Gluster-users] [3.0.2] booster + unfsd failed

hgichon hgichon at gmail.com
Thu Mar 4 05:08:52 UTC 2010


Hi list.

I have been testing with glusterfs-3.0.2.
glusterfs mount works well.
unfsd on glusterfs mount point works well too.

When using booster, unfsd realpath check failed.
But ls util works well.
I tried 3.0.0-git head source build but result was same.

My System is Ubuntu 9.10 and using unfsd source from official gluster
download site.
Any comment appreciated!!

- kpkim



root at ccc1:~/gluster/unfs3-0.9.23booster0.5#
LD_PRELOAD=/usr/local/lib/glusterfs/libglusterfs-booster.so unfsd -d -e
/etc/unfs3exports
UNFS3 unfsd 0.9.23 (C) 2009, Pascal Schmidt <unfs3-server at ewetel.net>
realpath for /nfs/NAS failed
syntax error in '/etc/unfs3exports', exporting nothing

root at ccc1:~/gluster/unfs3-0.9.23booster0.5# cat
/usr/local/etc/glusterfs/glusterfsd.vol
## file auto generated by /usr/local/bin/glusterfs-volgen (export.vol)
# Cmd line:
# $ /usr/local/bin/glusterfs-volgen -n NAS 192.168.1.127:/export
192.168.1.128:/export --nfs --cifs

volume posix1
  type storage/posix
  option directory /export
end-volume

volume locks1
    type features/locks
    subvolumes posix1
end-volume

volume brick1
    type performance/io-threads
    option thread-count 8
    subvolumes locks1
end-volume

volume server-tcp
    type protocol/server
    option transport-type tcp
    option auth.addr.brick1.allow *
    option transport.socket.listen-port 6996
    option transport.socket.nodelay on
    subvolumes brick1
end-volume

root at ccc1:~/gluster/unfs3-0.9.23booster0.5# cat
/usr/local/etc/glusterfs/glusterfs.vol
## file auto generated by /usr/local/bin/glusterfs-volgen (mount.vol)
# Cmd line:
# $ /usr/local/bin/glusterfs-volgen -n NAS 192.168.1.127:/export
192.168.1.128:/export --nfs --cifs

# TRANSPORT-TYPE tcp
volume 192.168.1.128-1
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.1.128
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
end-volume

volume 192.168.1.127-1
    type protocol/client
    option transport-type tcp
    option remote-host 192.168.1.127
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
end-volume

volume distribute
    type cluster/distribute
    subvolumes 192.168.1.127-1 192.168.1.128-1
end-volume

volume writebehind
    type performance/write-behind
    option cache-size 4MB
    subvolumes distribute
end-volume

volume readahead
    type performance/read-ahead
    option page-count 4
    subvolumes writebehind
end-volume

volume iocache
    type performance/io-cache
    option cache-size 128MB
    option cache-timeout 1
    subvolumes readahead
end-volume

volume quickread
    type performance/quick-read
    option cache-timeout 1
    option max-file-size 64kB
    subvolumes iocache
end-volume

volume statprefetch
    type performance/stat-prefetch
    subvolumes quickread
end-volume

root at ccc1:~/gluster/unfs3-0.9.23booster0.5# cat /etc/booster.fstab
/usr/local/etc/glusterfs/glusterfs.vol  /nfs/NAS/ glusterfs
logfile=/var/log/glusterfs/NAS-nfs.log,loglevel=DEBUG,attr_timeout=0

root at ccc1:~/gluster/unfs3-0.9.23booster0.5# cat /etc/unfs3exports
/nfs/NAS        0.0.0.0/0(rw,no_root_squash)


------------------ booster log
--------------------------------------------------------
[2010-03-04 13:48:16] N [client-protocol.c:6246:client_setvolume_cbk]
192.168.1.127-1: Connected to 192.168.1.127:6996, attached to remote
volume 'brick1'.
[2010-03-04 13:48:16] N [client-protocol.c:6246:client_setvolume_cbk]
192.168.1.127-1: Connected to 192.168.1.127:6996, attached to remote
volume 'brick1'.
[2010-03-04 13:48:16] N [client-protocol.c:6246:client_setvolume_cbk]
192.168.1.128-1: Connected to 192.168.1.128:6996, attached to remote
volume 'brick1'.
[2010-03-04 13:48:16] N [client-protocol.c:6246:client_setvolume_cbk]
192.168.1.128-1: Connected to 192.168.1.128:6996, attached to remote
volume 'brick1'.
[2010-03-04 13:48:16] D [dht-diskusage.c:71:dht_du_info_cbk] distribute:
on subvolume '192.168.1.127-1': avail_percent is: 96.00 and avail_space
is: 66246918144
[2010-03-04 13:48:16] D [dht-diskusage.c:71:dht_du_info_cbk] distribute:
on subvolume '192.168.1.128-1': avail_percent is: 97.00 and avail_space
is: 67548491776
[2010-03-04 13:48:16] D [dht-diskusage.c:71:dht_du_info_cbk] distribute:
on subvolume '192.168.1.127-1': avail_percent is: 96.00 and avail_space
is: 66246918144
[2010-03-04 13:48:16] D [dht-diskusage.c:71:dht_du_info_cbk] distribute:
on subvolume '192.168.1.128-1': avail_percent is: 97.00 and avail_space
is: 67548491776
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1744:libgf_vmp_map_ghandle] libglusterfsclient:
New Entry: /nfs/NAS
[2010-03-04 13:48:16] D [libglusterfsclient.c:1487:libgf_init_vmpentry]
libglusterfsclient: New VMP entry: /nfs/NAS
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1755:libgf_vmp_map_ghandle] libglusterfsclient:
Empty list
[2010-03-04 13:48:16] D [booster.c:1252:booster_init] booster: booster
is inited
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1643:_libgf_vmp_search_entry] libglusterfsclient:
VMP Search: path /root/gluster/unfs3-0.9.23booster0.5/, type: LongestPrefix
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1733:libgf_vmp_search_entry] libglusterfsclient:
VMP Entry not found: path: /root/gluster/unfs3-0.9.23booster0.5/
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1643:_libgf_vmp_search_entry] libglusterfsclient:
VMP Search: path /, type: LongestPrefix
[2010-03-04 13:48:16] D
[libglusterfsclient.c:1733:libgf_vmp_search_entry] libglusterfsclient:
VMP Entry not found: path: /
[2010-03-04 13:48:23] D
[libglusterfsclient.c:1643:_libgf_vmp_search_entry] libglusterfsclient:
VMP Search: path /nfs/NAS/, type: Exact




More information about the Gluster-users mailing list