Hello
gluster volume create test-volume server3:/exp3 server4:/exp4
This command will create the /exp3 directory on server3 and the /exp4
directory on server4 for use as underlying storage bricks which can
then be mounted using servername:/test-volume.
I usually want my bricks on a mounted partition on each server
(/mnt/storage) so I would use:
gluster volume create test-volume node1:/mnt/storage/brick1
node2:/mnt/storage/brick2
(The brick directories are automatically created in the storage area)
Again, this can then be mounted using servername:/test-volume.
Hope that helps
Martin
On 1 December 2010 10:58, Max Ivanov <ivanov.maxim at gmail.com>
wrote:> Hi
>
> I am reading official doc here how to create new volume:
>
http://www.gluster.com/community/documentation/index.php/Gluster_3.1:_Creating_New_Volumes
>
> but cant find where all thoose "server3:/exp3" came from? I
suppose
> its something called brick, but docs do not say how to define them. Is
> there any more documentation or bundled example files are best thing
> we have?
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>