+++ This bug was initially created as a clone of Bug #1265479 +++
+++ This bug was initially created as a clone of Bug #1234995 +++
Description of problem:
When you have distribute or disperse volume, and you set data-self-heal, metadata-self-heal and entry-self-heal options on/off it succeeds.
Since when you try to set self-heal-daemon off/on on distribute, disperse volume , it give error self-heal-daemon can be set on distribute-replicate volume. Same error should be displayed when user tries to set data-self-heal, metadata-self-heal and entry-self-heal options on/off.
Version-Release number of selected component (if applicable):
[root@darkknightrises ~]# rpm -qa | grep glusterfs
Steps to Reproduce:
1. Create distribute volume
2. set data-self-heal, metadata-self-heal and entry-self-heal option on/off. e.g gluster v set <vol-name> data-self-heal off
Check should there, if there is distribute-replicate volume , then only data-self-heal, metadata-self-heal and entry-self-heal option should be allowed to set
--- Additional comment from Sakshi on 2015-11-02 01:07:02 EST ---
Patch upstream http://review.gluster.org/12215
REVIEW: http://review.gluster.org/13444 (glusterd: validate function for replica volume options) posted (#1) for review on release-3.7 by Sakshi Bansal
COMMIT: http://review.gluster.org/13444 committed in release-3.7 by Atin Mukherjee (firstname.lastname@example.org)
Author: Sakshi <email@example.com>
Date: Wed Sep 23 15:16:34 2015 +0530
glusterd: validate function for replica volume options
Backport of http://review.gluster.org/#/c/12215/
> Change-Id: I5b4a28db101e9f7e07f4b388c7a2594051c9e8dd
> BUG: 1265479
> Signed-off-by: Sakshi <firstname.lastname@example.org>
> Reviewed-on: http://review.gluster.org/12215
> Tested-by: NetBSD Build System <email@example.com>
> Tested-by: Gluster Build System <firstname.lastname@example.org>
> Reviewed-by: Atin Mukherjee <email@example.com>
Signed-off-by: Sakshi <firstname.lastname@example.org>
Smoke: Gluster Build System <email@example.com>
NetBSD-regression: NetBSD Build System <firstname.lastname@example.org>
CentOS-regression: Gluster Build System <email@example.com>
Reviewed-by: Atin Mukherjee <firstname.lastname@example.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.9, please open a new bug report.
glusterfs-3.7.9 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.