# gluster volume create test-volume transport rdma server1:/exp1
Creation of test-volume has been successful
Please start the volume to access data.
2. 复制型卷(replicated volumes)
当在急需高可用和高可靠性的环境时可以使用它
# gluster volume create test-volume replica 2 transport tcp server1:/exp1 server2:/exp2
Creation of test-volume has been successful
Please start the volume to access data.
3. 条带式卷(striped volumes)
当在高并发性接收大文件的环境时必须使用条带式分布卷
# gluster volume create test-volume stripe 2 transport tcp server1:/exp1 server2:/exp2
Creation of test-volume has been successful
Please start the volume to access data.
# gluster volume create test-volume stripe 4 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4 server5:/exp5 server6:/exp6 server7:/exp7 server8:/exp8
Creation of test-volume has been successful
Please start the volume to access data.
5. 分布式复制卷(distributed replicated volumes)
当需求是急需大规模存储和高可靠性的环境下可以使用它
# gluster volume create test-volume replica 2 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4
Creation of test-volume has been successful
Please start the volume to access data.
6. 条带式复制卷(striped replicated volumes)
在高并发的频繁访问大量文件和性能需求关键的环境下使用它
# gluster volume create test-volume stripe 3 replica 2 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4 server5:/exp5 server6:/exp6
Creation of test-volume has been successful
Please start the volume to access data.
NOTE
Make sure you start your volumes before you try to mount them