+++ This bug was initially created as a clone of Bug #1222013 +++ Description of problem: The creation and setting up (mounting on nodes) of meta-volume(gluster_shared_storage) should be made simpler for the admin. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Anand Avati on 2015-05-15 09:52:45 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#1) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-18 07:53:00 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#2) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-19 11:00:46 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#3) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-19 11:12:34 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#4) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-20 08:16:34 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#5) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-27 09:24:16 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#6) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-28 00:56:12 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#7) for review on master by Atin Mukherjee (amukherj) --- Additional comment from Anand Avati on 2015-05-28 23:05:41 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#8) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-29 07:24:37 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#9) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-05-30 06:47:36 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#10) for review on master by Niels de Vos (ndevos) --- Additional comment from Anand Avati on 2015-06-01 02:43:25 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#11) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-06-01 04:57:09 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#12) for review on master by Avra Sengupta (asengupt) --- Additional comment from Anand Avati on 2015-06-02 02:56:59 EDT --- REVIEW: http://review.gluster.org/10793 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#13) for review on master by Avra Sengupta (asengupt) --- Additional comment from Avra Sengupta on 2015-06-04 07:17:51 EDT --- Fixed with http://review.gluster.org/#/c/10793/
REVIEW: http://review.gluster.org/11086 (glusterd/shared_storage: Provide a volume set option to create and mount the shared storage) posted (#1) for review on release-3.7 by Avra Sengupta (asengupt)
COMMIT: http://review.gluster.org/11086 committed in release-3.7 by Krishnan Parthasarathi (kparthas) ------ commit ae87a7fedfcf7f6b287ef5c3860f45412363e4f6 Author: Avra Sengupta <asengupt> Date: Thu May 14 15:00:59 2015 +0530 glusterd/shared_storage: Provide a volume set option to create and mount the shared storage Backport of http://review.gluster.org/#/c/10793/ Introducing a global volume set option(cluster.enable-shared-storage) which helps create and set-up the shared storage meta volume. gluster volume set all cluster.enable-shared-storage enable On enabling this option, the system analyzes the number of peers in the cluster, which are currently connected, and chooses three such peers(including the node the command is issued from). From these peers a volume(gluster_shared_storage) is created. Depending on the number of peers available the volume is either a replica 3 volume(if there are 3 connected peers), or a replica 2 volume(if there are 2 connected peers). "/var/run/gluster/ss_brick" serves as the brick path on each node for the shared storage volume. We also mount the shared storage at "/var/run/gluster/shared_storage" on all the nodes in the cluster as part of enabling this option. If there is only one node in the cluster, or only one node is up then the command will fail Once the volume is created, and mounted the maintainance of the volume like adding-bricks, removing bricks etc., is expected to be the onus of the user. On disabling the option, we provide the user a warning, and on affirmation from the user we stop the shared storage volume, and unmount it from all the nodes in the cluster. gluster volume set all cluster.enable-shared-storage disable Change-Id: Idd92d67b93f444244f99ede9f634ef18d2945dbc BUG: 1228181 Signed-off-by: Avra Sengupta <asengupt> Reviewed-on: http://review.gluster.org/11086 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Rajesh Joseph <rjoseph> Reviewed-by: Krishnan Parthasarathi <kparthas>
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.2, please reopen this bug report. glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://www.gluster.org/pipermail/packaging/2015-June/000006.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user