Bug 764701 (GLUSTER-2969) - add --pidfile option
Summary: add --pidfile option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-2969
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
Assignee: Lakshmipathi G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-31 21:45 UTC by Joe Julian
Modified: 2011-06-17 15:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2011-05-31 21:45:04 UTC
Your init script has the unwelcome side effect of killing client mounts due to the fact that it's trying to kill it's nfs child. Blanket killall statements are not the best way to handle this anyway.

Have glusterd take a --pidfile option/an option in glusterd.vol to write it's own pid, as well as the child pid's, to a specified file as those children are spawned. Remove the pids from that file as children are killed (for instance when a volume is stopped).

Comment 1 Anand Avati 2011-06-08 15:17:33 UTC
PATCH: http://patches.gluster.com/patch/7395 in master (build : use pid file to kill nfs process)

Comment 2 Anand Avati 2011-06-08 15:19:32 UTC
PATCH: http://patches.gluster.com/patch/7396 in release-3.2 (build : use pid file to kill nfs process)

Comment 3 Lakshmipathi G 2011-06-10 07:38:09 UTC
installed 3.2.1qa4 and mounted client processes ,then did /etc/init.d/glusterd stop - kills only the glusterd and nfs process and client process is still alive.

Comment 4 Anand Avati 2011-06-17 12:34:20 UTC
PATCH: http://patches.gluster.com/patch/7541 in release-3.1 (build : use pid file to kill nfs process)


Note You need to log in before you can comment on or make changes to this bug.