Hide Forgot
1. Created a distribute volume with two bricks 2. Killed on of the brick process Bug ----- volume status on the volume shows brick as online =========================================================== [root@GVSA-GMCQA1 export]# ps -ef | grep gluster root 8044 1 0 16:17 ? 00:00:00 /opt/glusterfs/3.3.0qa9/sbin/glusterfsd -s localhost --volfile-id two-brick.192.168.2.26.export-sdf-two-brick -p /etc/glusterd/vols/two-brick/run/192.168.2.26-export-sdf-two-brick.pid -S /tmp/84e2e05ccfa0146642456aab504628b9.socket --brick-name /export/sdf/two-brick -l /var/log/glusterfs/bricks/export-sdf-two-brick.log --brick-port 24018 --xlator-option two-brick-server.listen-port=24018 root 8053 1 0 16:17 ? 00:00:00 /opt/glusterfs/3.3.0qa9/sbin/glusterfs -f /etc/glusterd/nfs/nfs-server.vol -p /etc/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log root 8179 17824 0 16:18 pts/0 00:00:00 grep gluster root 18195 1 0 Sep15 ? 00:00:18 /opt/glusterfs/3.3.0qa9/sbin/glusterd [root@GVSA-GMCQA1 export]# kill -9 8044 [root@GVSA-GMCQA1 export]# ps -ef | grep gluster root 8053 1 0 16:17 ? 00:00:00 /opt/glusterfs/3.3.0qa9/sbin/glusterfs -f /etc/glusterd/nfs/nfs-server.vol -p /etc/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log root 8309 17824 0 16:21 pts/0 00:00:00 grep gluster root 18195 1 0 Sep15 ? 00:00:18 /opt/glusterfs/3.3.0qa9/sbin/glusterd [root@GVSA-GMCQA1 export]# gluster volume status two-brick Brick status for volume: two-brick Brick Port Online PID --------------------------------------------------------------------------- 192.168.2.45:/two-brick 24014 Y 23782 --------------------------------------------------------------------------- 192.168.2.26:/export/sdf/two-brick 24018 Y 8044
CHANGE: http://review.gluster.com/476 (glusterd now checks if a brick process is running to set online status,) merged in master by Vijay Bellur (vijay)