[Gluster-users] gluster-volgen - syntax for mirroring/distributing across 6 nodes
Lakshmipathi
lakshmipathi at gluster.com
Mon May 3 06:25:36 UTC 2010
Hi Phil,
1)Yes,your glusterfs-volgen command should provide the required volume files for your setup ,but you can also use this,
glusterfs-volgen --name repstore1 --raid 1 clustr-01:/mnt/data01 clustr-02:/mnt/data01 clustr-03:/mnt/data01 clustr-04:/mnt/data01
clustr-05:/mnt/data01 clustr-06:/mnt/data01 -c ~/files/
will create volume files under your home , make sure you have ~/files directory already exists.
2)No currently glusterfs-volgen won't support shorthand methods for export directories - they need to be exact strings.
For more details on volgen - please check
http://www.gluster.com/community/documentation/index.php/Glusterfs-volgen_Reference_Page
Cheers,
Lakshmipathi.G
----- Original Message -----
From: "phil cryer" <phil at cryer.us>
To: gluster-users at gluster.org
Sent: Friday, April 30, 2010 11:56:44 PM
Subject: [Gluster-users] gluster-volgen - syntax for mirroring/distributing across 6 nodes
NOTE: posted this to gluster-devel when I meant to post it to gluster-users
01 | 02 mirrored --|
03 | 04 mirrored --| distributed
05 | 06 mirrored --|
1) Would this command work for that?
glusterfs-volgen --name repstore1 --raid 1 clustr-01:/mnt/data01
clustr-02:/mnt/data01 --raid 1 clustr-03:/mnt/data01
clustr-04:/mnt/data01 --raid 1 clustr-05:/mnt/data01
clustr-06:/mnt/data01
So the 'repstore1' is the distributed part, and within that are 3 sets
of mirrored nodes.
2) Then, since we're running 24 drives in JBOD mode, so we've got
mounts from /mnt/data01 - /mnt/data24. Is there a way to write this
in shorthand, because the last time I generated a config across 3 of
these hosts, the command looked like this:
glusterfs-volgen --name store123 clustr-01:/mnt/data01
clustr-02:/mnt/data01 clustr-03:/mnt/data01 clustr-01:/mnt/data02
clustr-02:/mnt/data02 clustr-03:/mnt/data02 clustr-01:/mnt/data03
clustr-02:/mnt/data03 clustr-03:/mnt/data03 clustr-01:/mnt/data04
clustr-02:/mnt/data04 clustr-03:/mnt/data04 clustr-01:/mnt/data05
clustr-02:/mnt/data05 clustr-03:/mnt/data05 clustr-01:/mnt/data06
clustr-02:/mnt/data06 clustr-03:/mnt/data06 clustr-01:/mnt/data07
clustr-02:/mnt/data07 clustr-03:/mnt/data07 clustr-01:/mnt/data08
clustr-02:/mnt/data08 clustr-03:/mnt/data08 clustr-01:/mnt/data09
clustr-02:/mnt/data09 clustr-03:/mnt/data09 clustr-01:/mnt/data10
clustr-02:/mnt/data10 clustr-03:/mnt/data10 clustr-01:/mnt/data11
clustr-02:/mnt/data11 clustr-03:/mnt/data11 clustr-01:/mnt/data12
clustr-02:/mnt/data12 clustr-03:/mnt/data12 clustr-01:/mnt/data13
clustr-02:/mnt/data13 clustr-03:/mnt/data13 clustr-01:/mnt/data14
clustr-02:/mnt/data14 clustr-03:/mnt/data14 clustr-01:/mnt/data15
clustr-02:/mnt/data15 clustr-03:/mnt/data15 clustr-01:/mnt/data16
clustr-02:/mnt/data16 clustr-03:/mnt/data16 clustr-01:/mnt/data17
clustr-02:/mnt/data17 clustr-03:/mnt/data17 clustr-01:/mnt/data18
clustr-02:/mnt/data18 clustr-03:/mnt/data18 clustr-01:/mnt/data19
clustr-02:/mnt/data19 clustr-03:/mnt/data19 clustr-01:/mnt/data20
clustr-02:/mnt/data20 clustr-03:/mnt/data20 clustr-01:/mnt/data21
clustr-02:/mnt/data21 clustr-03:/mnt/data21 clustr-01:/mnt/data22
clustr-02:/mnt/data22 clustr-03:/mnt/data22 clustr-01:/mnt/data23
clustr-02:/mnt/data23 clustr-03:/mnt/data23 clustr-01:/mnt/data24
clustr-02:/mnt/data24 clustr-03:/mnt/data24
Thanks
P
--
http://philcryer.com
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list