[Gluster-devel] Latest git has issues

Steve steeeeeveee at gmx.net
Wed Apr 1 15:24:08 UTC 2009


Something is wrong with the parsing of vol files:
----
syntax error: line 35 (just after volume 'gfs-ds-server'): "ÿ"
(allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume')2009-04-01 17:18:35 E [spec.y:407:yyerror] parser: syntax error: line 35 (just after volume 'gfs-ds-server'): "ÿ"
(allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume')
2009-04-01 17:18:35 D [spec.y:135:cut_tree] parser: Translator tree not found
2009-04-01 17:18:35 D [spec.y:601:file_to_xlator_tree] parser: parsing of volfile failed, please review it once more
error in parsing volume file /etc/glusterfs/glusterfs-server.vu-hosting.vol
2009-04-01 17:18:35 E [glusterfsd.c:374:_parse_specfp] glusterfs: error in parsing volume file /etc/glusterfs/glusterfs-server.vu-hosting.vol
exiting
2009-04-01 17:18:35 E [glusterfsd.c:1072:main] glusterfs: exiting
----


The vol file is okay and there is no "ÿ" in it. Output of hexdump:
----
00000000  23 23 23 23 23 23 23 23  23 23 23 23 23 23 23 23  |################|
*
00000030  23 23 23 23 23 23 23 0a  23 23 23 20 20 47 6c 75  |#######.###  Glu|
00000040  73 74 65 72 46 53 20 53  65 72 76 65 72 20 56 6f  |sterFS Server Vo|
00000050  6c 75 6d 65 20 53 70 65  63 69 66 69 63 61 74 69  |lume Specificati|
00000060  6f 6e 20 20 20 20 20 20  20 20 20 20 23 23 23 0a  |on          ###.|
00000070  23 23 23 23 23 23 23 23  23 23 23 23 23 23 23 23  |################|
*
000000a0  23 23 23 23 23 23 23 0a  0a 76 6f 6c 75 6d 65 20  |#######..volume |
000000b0  67 66 73 2d 64 73 2d 70  6f 73 69 78 0a 20 20 74  |gfs-ds-posix.  t|
000000c0  79 70 65 20 73 74 6f 72  61 67 65 2f 70 6f 73 69  |ype storage/posi|
000000d0  78 0a 20 20 6f 70 74 69  6f 6e 20 64 69 72 65 63  |x.  option direc|
000000e0  74 6f 72 79 20 2f 6d 6e  74 2f 67 6c 75 73 74 65  |tory /mnt/gluste|
000000f0  72 66 73 2f 76 75 2d 68  6f 73 74 69 6e 67 0a 20  |rfs/vu-hosting. |
00000100  20 23 20 6f 70 74 69 6f  6e 20 6f 2d 64 69 72 65  | # option o-dire|
00000110  63 74 20 6f 66 66 0a 20  20 23 20 6f 70 74 69 6f  |ct off.  # optio|
00000120  6e 20 65 78 70 6f 72 74  2d 73 74 61 74 66 73 2d  |n export-statfs-|
00000130  73 69 7a 65 20 79 65 73  0a 20 20 23 20 6f 70 74  |size yes.  # opt|
00000140  69 6f 6e 20 6d 61 6e 64  61 74 65 2d 61 74 74 72  |ion mandate-attr|
00000150  69 62 75 74 65 20 79 65  73 0a 20 20 23 20 6f 70  |ibute yes.  # op|
00000160  74 69 6f 6e 20 73 70 61  6e 2d 64 65 76 69 63 65  |tion span-device|
00000170  73 20 31 0a 65 6e 64 2d  76 6f 6c 75 6d 65 0a 0a  |s 1.end-volume..|
00000180  76 6f 6c 75 6d 65 20 67  66 73 2d 64 73 2d 6c 6f  |volume gfs-ds-lo|
00000190  63 6b 73 0a 20 20 74 79  70 65 20 66 65 61 74 75  |cks.  type featu|
000001a0  72 65 73 2f 6c 6f 63 6b  73 0a 20 20 6f 70 74 69  |res/locks.  opti|
000001b0  6f 6e 20 6d 61 6e 64 61  74 6f 72 79 2d 6c 6f 63  |on mandatory-loc|
000001c0  6b 73 20 6f 66 66 0a 20  20 73 75 62 76 6f 6c 75  |ks off.  subvolu|
000001d0  6d 65 73 20 67 66 73 2d  64 73 2d 70 6f 73 69 78  |mes gfs-ds-posix|
000001e0  0a 65 6e 64 2d 76 6f 6c  75 6d 65 0a 0a 23 76 6f  |.end-volume..#vo|
000001f0  6c 75 6d 65 20 67 66 73  2d 64 73 2d 69 6f 2d 74  |lume gfs-ds-io-t|
00000200  68 72 65 61 64 73 0a 23  20 20 74 79 70 65 20 70  |hreads.#  type p|
00000210  65 72 66 6f 72 6d 61 6e  63 65 2f 69 6f 2d 74 68  |erformance/io-th|
00000220  72 65 61 64 73 0a 23 20  20 6f 70 74 69 6f 6e 20  |reads.#  option |
00000230  74 68 72 65 61 64 2d 63  6f 75 6e 74 20 38 0a 23  |thread-count 8.#|
00000240  20 20 73 75 62 76 6f 6c  75 6d 65 73 20 67 66 73  |  subvolumes gfs|
00000250  2d 64 73 2d 6c 6f 63 6b  73 0a 23 65 6e 64 2d 76  |-ds-locks.#end-v|
00000260  6f 6c 75 6d 65 0a 0a 76  6f 6c 75 6d 65 20 67 66  |olume..volume gf|
00000270  73 2d 64 73 2d 73 65 72  76 65 72 0a 20 20 74 79  |s-ds-server.  ty|
00000280  70 65 20 70 72 6f 74 6f  63 6f 6c 2f 73 65 72 76  |pe protocol/serv|
00000290  65 72 0a 20 20 6f 70 74  69 6f 6e 20 74 72 61 6e  |er.  option tran|
000002a0  73 70 6f 72 74 2d 74 79  70 65 20 74 63 70 2f 73  |sport-type tcp/s|
000002b0  65 72 76 65 72 0a 20 20  6f 70 74 69 6f 6e 20 74  |erver.  option t|
000002c0  72 61 6e 73 70 6f 72 74  2e 73 6f 63 6b 65 74 2e  |ransport.socket.|
000002d0  6c 69 73 74 65 6e 2d 70  6f 72 74 20 36 39 39 37  |listen-port 6997|
000002e0  0a 20 20 6f 70 74 69 6f  6e 20 61 75 74 68 2e 61  |.  option auth.a|
000002f0  64 64 72 2e 67 66 73 2d  64 73 2d 6c 6f 63 6b 73  |ddr.gfs-ds-locks|
00000300  2e 61 6c 6c 6f 77 20 31  39 32 2e 31 36 38 2e 30  |.allow 192.168.0|
00000310  2e 2a 2c 31 32 37 2e 30  2e 30 2e 31 0a 20 20 6f  |.*,127.0.0.1.  o|
00000320  70 74 69 6f 6e 20 61 75  74 68 2e 61 64 64 72 2e  |ption auth.addr.|
00000330  67 66 73 2d 64 73 2d 69  6f 2d 74 68 72 65 61 64  |gfs-ds-io-thread|
00000340  73 2e 61 6c 6c 6f 77 20  31 39 32 2e 31 36 38 2e  |s.allow 192.168.|
00000350  30 2e 2a 2c 31 32 37 2e  30 2e 30 2e 31 0a 20 20  |0.*,127.0.0.1.  |
00000360  23 20 73 75 62 76 6f 6c  75 6d 65 73 20 67 66 73  |# subvolumes gfs|
00000370  2d 64 73 2d 69 6f 2d 74  68 72 65 61 64 73 0a 20  |-ds-io-threads. |
00000380  20 73 75 62 76 6f 6c 75  6d 65 73 20 67 66 73 2d  | subvolumes gfs-|
00000390  64 73 2d 6c 6f 63 6b 73  0a 65 6e 64 2d 76 6f 6c  |ds-locks.end-vol|
000003a0  75 6d 65 0a 0a                                    |ume..|
000003a5
----


This is what got checked out with my last git update:
----
remote: Counting objects: 74, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 74 (delta 22), reused 0 (delta 0)
Unpacking objects: 100% (74/74), done.
>From git://git.sv.gnu.org/gluster
   3276e65..978174f  master     -> master
 glusterfsd/src/fetch-spec.c                     |   40 +++++++-
 glusterfsd/src/glusterfsd.c                     |   16 +++
 glusterfsd/src/glusterfsd.h                     |    1 +
 libglusterfs/src/glusterfs.h                    |    1 +
 libglusterfs/src/spec.y                         |    6 +-
 libglusterfs/src/xlator.c                       |  125 +++++++++++++++++++++++
 libglusterfs/src/xlator.h                       |    1 +
 transport/socket/src/socket.c                   |    2 +-
 xlators/mount/fuse/src/fuse-bridge.c            |   27 ++++--
 xlators/mount/fuse/utils/mount.glusterfs.in     |   10 ++-
 xlators/mount/fuse/utils/mount_glusterfs.in     |   10 ++-
 xlators/performance/io-threads/src/io-threads.c |    3 +-
 xlators/protocol/client/src/client-protocol.c   |    9 ++-
 xlators/storage/posix/src/posix.c               |    2 +-
 14 files changed, 228 insertions(+), 25 deletions(-)
----


// Steve
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01





More information about the Gluster-devel mailing list