[Bugs] [Bug 1228181] Simplify creation and set-up of meta-volume (shared storage)

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 5 09:20:32 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1228181



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11086 committed in release-3.7 by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit ae87a7fedfcf7f6b287ef5c3860f45412363e4f6
Author: Avra Sengupta <asengupt at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/11086
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5hzeYcCBsG&a=cc_unsubscribe


More information about the Bugs mailing list