<div dir="ltr">There is no hard rule/convention. Ideally you would want the brick directory name to match the volume name, rather than something as isolated as "brick1".<div><br></div><div>For eg, if you have a volume called 'music', the brick name could be /export/LVM/music and similarly share the same LVM for video with a brick called /export/LVM/video.</div>
<div><br></div><div style>Avati</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 11:56 AM, John Smith <span dir="ltr"><<a href="mailto:lbalbalba@gmail.com" target="_blank">lbalbalba@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
Thanks. Is there a preferred naming convention to go along with it ?<br>
Doing /exports/brick1/brick 1 seems a bit silly. Also, the /export<br>
mountpoint you suggest makes things a little ugly too, as it will<br>
results in /etxport1, /export2, etc.<br>
<br>
Any ideas >?<br>
<br>
<br>
Thanks,<br>
<br>
<br>
John Smith.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, May 14, 2013 at 8:51 PM, Anand Avati <<a href="mailto:anand.avati@gmail.com">anand.avati@gmail.com</a>> wrote:<br>
> The quick start guide needs to be updated. The brick directory should<br>
> ideally be a sub-directory of a mount point (and not a mount point directory<br>
> itself) for ease of administration. We recently added code to warn about<br>
> this (and looks like the code check exposed a documentation bug which you<br>
> just shared!)<br>
><br>
> Avati<br>
><br>
><br>
> On Tue, May 14, 2013 at 11:22 AM, John Smith <<a href="mailto:lbalbalba@gmail.com">lbalbalba@gmail.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>><br>
>> Im trying to follow this guide to set up a simple cluster:<br>
>> <a href="http://www.gluster.org/community/documentation/index.php/QuickStart" target="_blank">http://www.gluster.org/community/documentation/index.php/QuickStart</a><br>
>><br>
>> But when I issue this command :<br>
>> gluster volume create glustervol01 replica 2<br>
>> 192.168.126.128:/export/brick1 192.168.126.129:/export/brick1<br>
>><br>
>> I get the following eror:<br>
>> volume create: glustervol01: failed: The brick<br>
>> 192.168.126.129:/export/brick1 is a mount point. Please create a<br>
>> sub-directory under the mount point and use that as the brick<br>
>> directory. Or use 'force' at the end of the command if you want to<br>
>> override this behavior.<br>
>><br>
>> Am I doing something wrong ? The guide tells you to 'mkdir -p<br>
>> /export/brick1', and add '/dev/glusterfsvol/glusterfslv1<br>
>> /export/brick1 xfs defaults 1 2' to /etc/fstab. So yeah,<br>
>> /exports/brick is a mount point. You just created it. I dont get it...<br>
>><br>
>><br>
>><br>
>> - John Smith<br>
>> _______________________________________________<br>
>> Gluster-users mailing list<br>
>> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
>> <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>