[Gluster-devel] Glusterfs server first configuration problem
Anand Avati
avati at zresearch.com
Wed Jul 18 10:54:00 UTC 2007
Fabrice,
in glusterfs-1.2.3, there should not be 'subvolumes' line in
protocol/server (unlike the current versions).
thanks,
avati
2007/7/17, Fabrice Charlier <fabrice.charlier at uclouvain.be>:
>
> Hi all,
>
> It's my first attempt to install glusterfs and I have a little problem
> with the configuration
> of the server. See below...
>
> glufsterfs version 1.2.3; fuse is 2.6.5
>
> Configuration file (copy/pasted from glusterfs wiki)
>
> [root at gridlab glusterfs]# cat /etc/glusterfs/glusterfs-server.vol
> ### File: /etc/glusterfs-server.vol - GlusterFS Server Volume
> Specification
>
> ### Export volume "brick" with the contents of "/home/export" directory.
> volume brick
> type storage/posix # POSIX FS translator
> option directory /disk1 # Export this directory
> end-volume
>
> ### Add network serving capability to above brick.
> volume server
> type protocol/server
> option transport-type tcp/server # For TCP/IP transport
> # option transport-type ib-sdp/server # For Infiniband transport
> # option bind-address 192.168.0.1 # Default is to listen on all
> interfaces
> # option listen-port 6996 # Default is 6996
> # option client-volume-filename /etc/glusterfs/glusterfs-client.vol
> subvolumes brick
> # NOTE: Access to any volume through protocol/server is denied by
> # default. You need to explicitly grant access through # "auth"
> # option.
> option debug on
> option auth.ip.brick.allow 192.168.* # Allow access to "brick" volume
> end-volume
>
> But when I launch the server, I have the following error
>
> [root at gridlab glusterfs]# /usr/local/sbin/glusterfsd --no-daemon
> --log-file=/dev/stdout --log-level=DEBUG
> Using logfile /dev/stdoutFri Jul 13 16:35:45 2007 [ERROR]
> protocol/server: FATAL: protocol/server can have no subvolume
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: new_section: New
> node for 'brick'
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_type:
> Type:brick:storage/posix
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/xlator: xlator_set_type:
> attempt to load type storage/posix
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/xlator: xlator_set_type:
> attempt to load file /usr/local/lib/glusterfs/xlator/storage/posix.so
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_option:
> Option:brick:directory:/disk1
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_end:
> end:brick
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: new_section: New
> node for 'server'
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_type:
> Type:server:protocol/server
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/xlator: xlator_set_type:
> attempt to load type protocol/server
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/xlator: xlator_set_type:
> attempt to load file /usr/local/lib/glusterfs/xlator/protocol/server.so
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_option:
> Option:server:transport-type:tcp/server
> Fri Jul 13 16:35:45 2007 [DEBUG] liglusterfs/parser: section_sub:
> child:server->brick
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_option:
> Option:server:debug:on
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_option:
> Option:server:auth.ip.brick.allow:192.168.*
> Fri Jul 13 16:35:45 2007 [DEBUG] libglusterfs/parser: section_end:
> end:server
> *Fri Jul 13 16:35:45 2007 [ERROR] protocol/server: FATAL:
> protocol/server can have no subvolume
>
> An idea why it doesn't work ?
>
> Thanks
>
> Fabrice
>
>
> --
> --------------------------------------------------------------------
> Fabrice Charlier - fabrice.charlier at uclouvain.be
>
> UCL - Université Catholique Louvain
> FYNU - Institut de Physique Nucleaire
> Batiment Marc de Hemptinne (Cyclotron) - Bureau E.253
> Chemin du Cyclotron, 2
> B 1348 Louvain-la-Neuve
> Belgium
>
> Office : +32.10.47.32.34
> Fax : +32.10.45.21.83
> -------------------------------------------------------------------
>
> --
> --------------------------------------------------------------------
> Fabrice Charlier - fabrice.charlier at uclouvain.be
>
> UCL - Université Catholique Louvain
> FYNU - Institut de Physique Nucleaire
> Batiment Marc de Hemptinne (Cyclotron) - Bureau E.253
> Chemin du Cyclotron, 2
> B 1348 Louvain-la-Neuve
> Belgium
>
> Office : +32.10.47.32.34
> Fax : +32.10.45.21.83
> -------------------------------------------------------------------
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
Anand V. Avati
More information about the Gluster-devel
mailing list