<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I&#8217;m new to gluster administration, and am looking at a current gluster cluster&#8230;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We have a 6 node gluster cluster and a volume called cdparchive2 that is set to distributed replicated.<o:p></o:p></p>
<p class="MsoNormal">My assumption was that it is set to distribute across the first 3 bricks, and that group of 3 bricks would replicate to the next three bricks.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Here is the output from gluster volume info cdparchive2<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">gluster volume info cdparchive2<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">Volume Name: cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Type: Distributed-Replicate<o:p></o:p></p>
<p class="MsoNormal">Volume ID: 1e3fdd58-14fc-459b-817f-6c6612090ecd<o:p></o:p></p>
<p class="MsoNormal">Status: Started<o:p></o:p></p>
<p class="MsoNormal">Number of Bricks: 3 x 2 = 6<o:p></o:p></p>
<p class="MsoNormal">Transport-type: tcp<o:p></o:p></p>
<p class="MsoNormal">Bricks:<o:p></o:p></p>
<p class="MsoNormal">Brick1: gluster07:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Brick2: gluster08:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Brick3: gluster09:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Brick4: gluster10:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Brick5: gluster11:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal">Brick6: gluster12:/data/cdparchive2<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">So based on my assumptions/understanding, I thought it would distribute across nodes 7 8 and 9, and then replicate to 10, 11, 12.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But when I login to each gluster data node and du a du &#8211;sm on /data/cdparchive2 I see the following:<o:p></o:p></p>
<p class="MsoNormal">Nodes 7 and 8 are the same size, nodes 9 and 10 are the same size, and nodes 11 and 12 are the same size.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">So I guess that means its distributing to 7, 9 and 11, and replicating to 8, 10, and 12?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Going forward, how do I create a new distributed replicated volume that acts the way I assume, that is distributes across first 3 nodes, and then replicates to the next 3 nodes?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Would that be <span style="font-family:&quot;Arial&quot;,sans-serif;color:black;background:white">
gluster volume create test-volume replica 2 transport tcp gluster071:/test1 gluster08:/test2 gluster09:/test3 gluster10:/test4 gluster11:/test5 &nbsp;gluster12:/test6?</span><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>