The quick start guide needs to be updated. The brick directory should
ideally be a sub-directory of a mount point (and not a mount point
directory itself) for ease of administration. We recently added code to
warn about this (and looks like the code check exposed a documentation bug
which you just shared!)
Avati
On Tue, May 14, 2013 at 11:22 AM, John Smith <lbalbalba at gmail.com>
wrote:
> Hi,
>
>
> Im trying to follow this guide to set up a simple cluster:
> http://www.gluster.org/community/documentation/index.php/QuickStart
>
> But when I issue this command :
> gluster volume create glustervol01 replica 2
> 192.168.126.128:/export/brick1 192.168.126.129:/export/brick1
>
> I get the following eror:
> volume create: glustervol01: failed: The brick
> 192.168.126.129:/export/brick1 is a mount point. Please create a
> sub-directory under the mount point and use that as the brick
> directory. Or use 'force' at the end of the command if you want to
> override this behavior.
>
> Am I doing something wrong ? The guide tells you to 'mkdir -p
> /export/brick1', and add '/dev/glusterfsvol/glusterfslv1
> /export/brick1 xfs defaults 1 2' to /etc/fstab. So yeah,
> /exports/brick is a mount point. You just created it. I dont get it...
>
>
>
> - John Smith
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130514/a9759a3b/attachment.html>