<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/03/2013 12:51 PM, Jay Vyas wrote:<br>
</div>
<blockquote
cite="mid:CAAu13zH9H6vDBS_naVpUBEXN9Ly+wXJJGO_U+iPRx0emF-qYFA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi guys:
<div><br>
</div>
<div>I have just installed gluster on a single instance, and the
command:</div>
<div><br>
</div>
<div>
<div>gluster volume create gv0 replica 2
server.n1:/export/brick1 server.n1:/export/brick2</div>
<div><br>
</div>
<div style="">returns with: </div>
<div style=""><br>
</div>
<div style="">"Failed to perform brick order check... do you
want to continue ..? y/N"?</div>
<div><br>
</div>
<div style="">What is the meaning of this error message, and
why does brick order matter?</div>
<br>
</div>
</div>
</blockquote>
The second half of that question that I neglected to answer is that
brick order matters due to establishing replica sets.<br>
<br>
A replica set, "replica N" is each N bricks listed in order. So for
this command:<br>
<blockquote><tt>gluster volume create myvol1 replica 2 s1:/brick
s2:/brick s3:/brick s4:/brick s5:/brick s6:/brick</tt> <br>
</blockquote>
There would be three replica sets, s1:/brick+s2:/brick,
s3:/brick+s4:/brick, and s5:/brick+s6:/brick, that will be combined
using distribute to create the volume myvol1.<br>
<br>
If you wanted a little more redundancy, then:<br>
<blockquote><tt>gluster volume create myvol2 replica 3 s1:/brick
s2:/brick s3:/brick s4:/brick s5:/brick s6:/brick</tt> <br>
</blockquote>
Would create 2 replica sets, s1:/brick+s2:/brick+s3:/brick, and
s4:/brick+s5:/brick+s6:/brick. Again they will be combined using
distribute to create the volume myvol2.
</body>
</html>