Red Hat Bugzilla – Full Text Bug Listing
|Summary:||add --pidfile option|
|Product:||[Community] GlusterFS||Reporter:||Joe Julian <joe>|
|Component:||glusterd||Assignee:||Lakshmipathi G <lakshmipathi>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Joe Julian 2011-05-31 17:45:04 EDT
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 11:17:33 EDT
PATCH: http://patches.gluster.com/patch/7395 in master (build : use pid file to kill nfs process)
Comment 2 Anand Avati 2011-06-08 11:19:32 EDT
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 03:38:09 EDT
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.