Bug 764772 (GLUSTER-3040)

Summary: need a way to create volumes with 'stripe+replicate' setup..
Product: [Community] GlusterFS Reporter: Amar Tumballi <amarts>
Component: cliAssignee: Amar Tumballi <amarts>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, jdarcy, rabhat, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: ---
Documentation: DP CRM:
Verified Versions: glusterfs-3.3.0qa9 Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Tumballi 2011-06-16 08:16:44 UTC
bash# gluster volume create test-vol stripe 2 replica 3 [6BRICKS] ..

Comment 1 Anand Avati 2011-06-24 01:30:58 UTC
PATCH: http://patches.gluster.com/patch/7578 in master (gluster volume create: option for stripe + replicate volume)

Comment 2 Anand Avati 2011-06-24 01:31:03 UTC
PATCH: http://patches.gluster.com/patch/7528 in master (gluster volume info: fix the output of 'stripe-replicated' volumes)

Comment 3 Amar Tumballi 2011-06-24 01:45:57 UTC
any of the order, like 

gluster volume create <VOL> replica 3 stripe 4 [12BRICKS] 

OR

gluster volume create <VOL> stripe 4 replica 3 [12BRICKS]


would create same type of volume (RAID01 type, ie, replicate is subvolume of stripe, which can be subvolume of distribute).

Comment 4 Raghavendra Bhat 2011-09-16 07:12:56 UTC
Striped replicate volumes can be created now with glusterfs-3.3 releases. Checked with glusterfs-3.3.0qa9. 


gluster volume create <volname> stripe <cnt> replica <cmt> "bricks" will create striped replicate volume. Even if the stripe and replica are swapped, then also striped replicate volume with appropriate counts are created.