Hide Forgot
When all the bricks in the volumes are down, running volume profile info displays "profile info successful". volume profile info should inform if any of the servers are down.
*** Bug 2594 has been marked as a duplicate of this bug. ***
CHANGE: http://review.gluster.com/63 (Profile - If all bricks are down, report errror.) merged in master by Anand Avati (avati)
Its fixed now. If the bricks are down gluster volume profile <volname> info gives error message. Checked with glusterfs-3.3.0qa9. ps aux |grep gluster root 4623 0.0 0.0 0 0 ? Zsl Sep12 0:00 [glusterfs] <defunct> root 13037 0.0 4.8 239700 102476 ? Ssl 02:02 0:00 glusterd root 24799 1.2 3.5 208028 73652 ? Ssl 06:48 0:00 /usr/local/sbin/glusterfsd -s localhost --volfile-id mirror.10.1.11.73.export-mirror -p /etc/glusterd/vols/mirror/run/10.1.11.73-export-mirror.pid -S /tmp/cc858321fc36a83d7850a009d90076cf.socket --brick-name /export/mirror -l /usr/local/var/log/glusterfs/bricks/export-mirror.log --brick-port 24009 --xlator-option mirror-server.listen-port=24009 root 24805 1.8 4.6 213076 97696 ? Ssl 06:48 0:00 /usr/local/sbin/glusterfs -f /etc/glusterd/nfs/nfs-server.vol -p /etc/glusterd/nfs/run/nfs.pid -l /usr/local/var/log/glusterfs/nfs.log root 24809 1.6 3.5 187856 74760 ? Ssl 06:48 0:00 /usr/local/sbin/glusterfs -s localhost --volfile-id gluster/glustershd -p /etc/glusterd/glustershd/run/glustershd.pid -l /usr/local/var/log/glusterfs/glustershd.log root 24817 0.0 0.0 61184 740 pts/5 R+ 06:48 0:00 grep gluster [root@Centos1 ~]# kill 24799 [root@Centos1 ~]# gluster volume profile mirror info Cannot reach bricks. Bricks are down [root@Centos1 ~]# gluster volume profile mirror info Cannot reach bricks. Bricks are down
This patch needs to be back-ported to release-3.2 branch as well.