[Gluster-users] Init scripts broke on Debian
Michael Bushey
michael at realtymogul.com
Wed Feb 25 21:33:59 UTC 2015
# dpkg -l | grep -i gluster
ii glusterfs-client 3.6.2-2 amd64
clustered file-system (client package)
ii glusterfs-common 3.6.2-2 amd64
GlusterFS common libraries and translator modules
ii glusterfs-server 3.6.2-2 amd64
clustered file-system (server package)
# uname -a
Linux w01 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03)
x86_64 GNU/Linux
# /etc/init.d/glusterfs-server stop
Stopping glusterfs-server (via systemctl): glusterfs-server.service.
The init script is 100% defective, the processes are still running:
root at web1:/# ps aux | grep -i gluster
root 1389 0.5 0.3 811556 26932 ? Ssl Feb24 6:55
/usr/sbin/glusterfsd -s web1 --volfile-id
www-files.web1.var-gluster-www-files -p
/var/lib/glusterd/vols/www-files/run/web1-var-gluster-www-files.pid -S
/var/run/6ac54ab084e7cba9a30f490b52ffc7e2.socket --brick-name
/var/gluster/www-files -l
/var/log/glusterfs/bricks/var-gluster-www-files.log --xlator-option
*-posix.glusterd-uuid=87a71cfc-3b84-4163-b4bf-c5ebc07d7338
--brick-port 49156 --xlator-option www-files-server.listen-port=49156
root 1395 0.2 0.2 1143896 21260 ? Ssl Feb24 2:56
/usr/sbin/glusterfsd -s web1 --volfile-id
www-private.web1.var-gluster-www-private -p
/var/lib/glusterd/vols/www-private/run/web1-var-gluster-www-private.pid
-S /var/run/fa30125729d36798664462c357e9cc46.socket --brick-name
/var/gluster/www-private -l
/var/log/glusterfs/bricks/var-gluster-www-private.log --xlator-option
*-posix.glusterd-uuid=87a71cfc-3b84-4163-b4bf-c5ebc07d7338
--brick-port 49155 --xlator-option
www-private-server.listen-port=49155
root 1410 0.1 0.6 1272668 52344 ? Ssl Feb24 2:14
/usr/sbin/glusterfs -s localhost --volfile-id gluster/glustershd -p
/var/lib/glusterd/glustershd/run/glustershd.pid -l
/var/log/glusterfs/glustershd.log -S
/var/run/0e07e96225dff919ff87024dd2852ee0.socket --xlator-option
*replicate*.node-uuid=87a71cfc-3b84-4163-b4bf-c5ebc07d7338
Does anyone have init script for gluster that actually works?
More information about the Gluster-users
mailing list