Bug 852151

Summary: We need an easy way to alter client configs without breaking DVM
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vidya Sakar <vinaraya>
Component: glusterdAssignee: krishnan parthasarathi <kparthas>
Status: CLOSED NOTABUG QA Contact: Sudhir D <sdharane>
Severity: low Docs Contact:
Priority: high    
Version: 2.0CC: amarts, craig, gluster-bugs, jdarcy, nsathyan, pkarampu, rfortier, rhs-bugs, vbellur, vijay, vikas
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: GLUSTER-2014 Environment:
Last Closed: 2012-10-07 16:58:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 763746    
Bug Blocks:    

Description Vidya Sakar 2012-08-27 17:41:31 UTC
+++ This bug was initially created as a clone of Bug #763746 +++

Jacob,
  It would be tricky in this version to achieve your requirements. Even though the filesystem supports different read-subvolumes for different clients, the CLI still does not have an interface to express this configuration to the filesystem yet.

Avati

    Hello,

     

    With GlusterFS 3.1, I know how you can configure an environment with 3 replicas of files, but what is not clear to me is what the proper way is to configure GlusterFS clients to use this.  I know you can use mount –t glusterfs server:/volname /mntpoint to mount the volume, but what happens when you have different clients that need to mount it in a different way.  For example,

     

    1.       I have 3 replicas with 1 server on each rack in a datacenter.

    2.       I want to have the clients in a rack read data from a server in the rack and not from the other racks.

    3.       Since there is no ‘vol’ file, using the above mount command all servers in all racks will read from all racks.

     

    In 3.0.x, you would specify the read-subvolume in the mirror volume definition on the client and then mount using the vol file.  Is there a way of having multiple client configurations in 3.1.x?  Or do I have to copy the vol file(/etc/glusterd/vols/volname/volname-fuse.vol) to the clients and mount things that way?  If I do that, will it break DVM?

    Jacob Shucart | Gluster

    Sales Engineer

    E-Mail   : Jacob

    Direct    : (408)770-1504

--- Additional comment from amarts on 2011-06-27 05:13:44 EDT ---

*** Bug 2356 has been marked as a duplicate of this bug. ***

--- Additional comment from amarts on 2011-09-27 01:49:56 EDT ---

Planing to keep 3.4.x branch as "internal enhancements" release without any features. So moving these bugs to 3.4.0 target milestone.

Comment 2 Amar Tumballi 2012-10-07 16:58:17 UTC
makes sense mainly in community product... in RHS, this will be outside the supportable configuration... hence making it 'notabug'...