服务端进程信息:
root 348 0.0 0.2 273104 16268 ? Ssl 17:31 0:00 /usr/sbin/glusterd --pid-file=/run/glusterd.pid
root 401 0.0 0.6 308532 52700 ? Ssl 17:31 0:00 /usr/sbin/glusterfs -s localhost --volfile-id gluster/nfs -p /var/lib/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log -S /var/run/bdec9c41dda184769df21998432b9bf2.socket
root 417 0.0 0.2 323660 23612 ? Ssl 17:31 0:00 /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/510a9fdbe684d9518726048e1b21a40d.socket --xlator-option *replicate*.node-uuid=f22b60d6-ff4d-4247-bdda-0a4fe0223384
root 32756 0.9 0.2 548512 22132 ? Ssl 17:30 0:07 /usr/sbin/glusterfsd -s lab22 --volfile-id tank.lab22.letv-disk3 -p /var/lib/glusterd/vols/tank/run/lab22-letv-disk3.pid -S /var/run/a71a75abe47e437d55b915773b3b4f5c.socket --brick-name /letv/disk3 -l /var/log/glusterfs/bricks/letv-disk3.log --xlator-option *-posix.glusterd-uuid=f22b60d6-ff4d-4247-bdda-0a4fe0223384 --brick-port 49155 --xlator-option tank-server.listen-port=49155
服务端重启glusterd服务,如下进程PID变不。
root 24082 2.0 0.3 548508 24752 ? Ssl 17:46 0:05 /usr/sbin/glusterfsd -s lab21 --volfile-id tank.lab21.letv-disk3 -p /var/lib/glusterd/vols/tank/run/lab21-letv-disk3.pid -S /var/run/5e33431834617265b46d9dc89cdb2e53.socket --brick-name /letv/disk3 -l /var/log/glusterfs/bricks/letv-disk3.log --xlator-option *-posix.glusterd-uuid=0d5ba4a3-c6fa-4afd-ad39-a2842ca3cde0 --brick-port 49176 --xlator-option tank-server.listen-port=49176
其他3个进程PID会变,生产新的进程。
当服务器端执行gluster volume stop操作后,上述进程消失,gluster volume start后会创建新的线程。