Bug 762758 (GLUSTER-1026)

Summary: Glusterfs doesn't exit properly when export directory isn't given
Product: [Community] GlusterFS Reporter: Anush Shetty <anush>
Component: posixAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anush Shetty 2010-06-24 11:29:28 UTC
In mainline;


root@pitta:/gluster/vols# /gluster/3.1/sbin/glusterfs -f /gluster/vols/server_wb.vol -l /dev/stdout /mnt/client2
[2010-06-24 16:56:33.979331] E [graph.y:406:yyerror] parser: syntax error: line 4 (volume 'posix4'): "end-volume"
allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
root@pitta:/gluster/vols# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              47G   31G   15G  68% /
udev                  1.9G  308K  1.9G   1% /dev
none                  1.9G  4.7M  1.9G   1% /dev/shm
none                  1.9G  240K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
/dev/sda6              94G   22G   69G  24% /gluster
/dev/sda7              94G   63G   27G  70% /falcon
/dev/sda8              55G   47G  5.3G  90% /kestrel
df: `/mnt/client2': Transport endpoint is not connected


The same in 3.0.5rc6
root@pitta:/gluster/vols# /gluster/305rc6/sbin/glusterfs -f /gluster/vols/server_wb.vol -l /dev/stdout /mnt/client2
syntax error: line 4 (volume 'posix4'): "end-volume"
allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'[2010-06-24 16:56:23] E [spec.y:387:yyerror] parser: syntax error: line 4 (volume 'posix4'): "end-volume"
allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
error in parsing volume file /gluster/vols/server_wb.vol
[2010-06-24 16:56:23] E [glusterfsd.c:467:_parse_specfp] glusterfs: error in parsing volume file /gluster/vols/server_wb.vol
exiting
[2010-06-24 16:56:23] E [glusterfsd.c:1271:main] glusterfs: exiting
root@pitta:/gluster/vols# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              47G   31G   15G  68% /
udev                  1.9G  308K  1.9G   1% /dev
none                  1.9G  4.7M  1.9G   1% /dev/shm
none                  1.9G  240K  1.9G   1% /var/run
none                  1.9G     0  1.9G   0% /var/lock
none                  1.9G     0  1.9G   0% /lib/init/rw
/dev/sda6              94G   22G   69G  24% /gluster
/dev/sda7              94G   63G   27G  70% /falcon
/dev/sda8              55G   47G  5.3G  90% /kestrel

Comment 1 Pranith Kumar K 2010-07-09 08:15:19 UTC
It is observed that fini for the fuse xlator is not called.

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