gluster-volgen - syntax for mirroring/distributing across 6 nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Working on a configuration to run Glusterfs with 6 nodes, ever other
one mirrored, with everything distributed across.  So:

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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux