<div dir="auto">Bump</div><div class="gmail_extra"><br><div class="gmail_quote">Il 11 mar 2017 10:42 AM, "Gandalf Corvotempesta" <<a href="mailto:gandalf.corvotempesta@gmail.com">gandalf.corvotempesta@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi to all</p>
<p>let's assume this volume info output:</p>
<p><tt>Volume Name: r2</tt><tt><br>
</tt><tt>Type: Distributed-Replicate</tt><tt><br>
</tt><tt>Volume ID: 24a0437a-daa0-4044-8acf-<wbr>7aa82efd76fd</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 2 x 2 = 4</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt>Brick1: Server1:/home/gfs/r2_0</tt><tt><br>
</tt><tt>Brick2: Server2:/home/gfs/r2_1</tt><tt><br>
</tt><tt>Brick3: Server1:/home/gfs/r2_2</tt><tt><br>
</tt><tt>Brick4: Server2:/home/gfs/r2_3</tt><br>
</p>
<p>Can someone explain me how to read "Number of bricks" ?</p>
<p>Is the first number the number of "replicated bricks" and the
second number the number of replica?</p>
<p>In this case, 2 bricks are replicated 2 times.</p>
<p>So, a "Number of Bricks: 2 x 3 = 6" means that 2 bricks are
replicated 3 times, right ?</p>
<p>Now, would be possible to add some indentation to this output?
Something like this would be much easier to read and understand:</p>
<p><tt>Volume Name: r2</tt><tt><br>
</tt><tt>Type: Distributed-Replicate</tt><tt><br>
</tt><tt>Volume ID: 24a0437a-daa0-4044-8acf-<wbr>7aa82efd76fd</tt><tt><br>
</tt><tt>Status: Started</tt><tt><br>
</tt><tt>Number of Bricks: 2 x 2 = 4</tt><tt><br>
</tt><tt>Transport-type: tcp</tt><tt><br>
</tt><tt>Bricks:</tt><tt><br>
</tt><tt> Brick1: Server1:/home/gfs/r2_0</tt><tt><br>
</tt><tt> Brick2: Server2:/home/gfs/r2_1</tt><tt><br>
</tt><tt> </tt><tt><br>
</tt><tt> </tt><tt>Brick3: Server1:/home/gfs/r2_2</tt><tt><br>
</tt><tt> Brick4: Server2:/home/gfs/r2_3</tt><br>
</p>
<p>
</p>
</div>
</blockquote></div><br></div>