Bug 773301
Summary: | Adding brick to Replicate volume change type volume to Distributed-Replicate | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Aleš Koval <als> |
Component: | glusterd | Assignee: | krishnan parthasarathi <kparthas> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 3.2.5 | CC: | amarts, glusterbugs, gluster-bugs, nsathyan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-25 05:42:08 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: |
Description
Aleš Koval
2012-01-11 13:17:50 UTC
This is the correct & expected behavior. The add-brick command adds distribute subvolumes. If anything is wrong here, imho, it's the documentation. I expected this :) So there is no option for expand replicate volume without change it to distributed-replicate. I think this need to be written clearly in documentation. This feature is already present in master branch of glusterfs, ie, it will be present in next major release (3.3.0). Feel free to do a git clone and test the feature (or even test one of our 'qa' releases). Thanks. I confirm version 3.3.0qa19 works well. # gluster volume create test replica 2 transport tcp server:/test1 server:/test2 # gluster volume info test Volume Name: test5 Type: Replicate Status: Created Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: server:/test1 Brick2: server:/test2 # gluster volume add-brick test replica 3 server:/test3 # gluster volume info test Volume Name: test Type: Replicate Status: Created Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: server:/test1 Brick2: server:/test2 Brick3: server:/test3 |