Hide Forgot
root@supernova:~# glusterfs -s localhost --debug /mnt/glusterfs [2011-05-24 15:33:26.616305] W [rpc-common.c:38:xdr_serialize_generic] (-->glusterfs(glusterfs_volfile_fetch+0xb5) [0x40916c] (-->glusterfs(mgmt_submit_request+0xe2) [0x4085e5] (-->/usr/local/lib/libgfxdr.so.0(xdr_from_getspec_req+0x3c) [0x7f6b12eed84e]))) 0-xdr: XDR encoding failed [2011-05-24 15:33:26.616329] W [glusterfsd-mgmt.c:428:mgmt_submit_request] 0-: failed to create XDR payload [2011-05-24 15:33:26.616345] E [glusterfsd-mgmt.c:753:mgmt_rpc_notify] 0-mgmt: failed to fetch volume file (key:(null)) [2011-05-24 15:33:26.616376] W [glusterfsd.c:700:cleanup_and_exit] (-->/usr/local/lib/libgfrpc.so.0(rpc_transport_notify+0x130) [0x7f6b13108ab4] (-->/usr/local/lib/libgfrpc.so.0(rpc_clnt_notify+0x339) [0x7f6b1310c550] (-->glusterfs() [0x4092fd]))) 0-: received signum (0), shutting down [2011-05-24 15:33:26.616410] I [fuse-bridge.c:3688:fini] 0-fuse: Unmounting '/mnt/glusterfs'. Also as per "Emmanuel Dreyfus <manu>", it crashes in NetBSD. Need to handle this For now, we will have the parsing code itself to handle this with error message telling '--volfile-id' option is required with '-s'.
Patch sent for review
PATCH: http://patches.gluster.com/patch/7334 in master (glusterfsd: prevent giving '-s' option without '--volfile-id' option)
changing the target milestone to 3.3.0 after discussion with the developer.
It works fine with following error. root@openstack2:~# glusterfs -s localhost --debug /home/gluster/mnt/vol/ [2011-09-05 17:17:34.718878] C [glusterfsd.c:1096:parse_cmdline] 0-glusterfs: ERROR: '--volfile-id' is mandatory if '-s' OR '--volfile-server' option is given