6.7. Creating Distributed Striped Volumes
Figure 6.7. Illustration of a Distributed Striped Volume
Create a Distributed Striped Volume
gluster volume createto create a distributed striped volume, and
gluster volume infoto verify successful volume creation.
- A trusted storage pool has been created, as described in Section 5.1, “Adding Servers to the Trusted Storage Pool”.
- Understand how to start and stop volumes, as described in Section 6.10, “Starting Volumes”.
- Run the
gluster volume createcommand to create the distributed striped volume.The syntax is
# gluster volume create NEW-VOLNAME [stripe COUNT] [transport tcp | rdma | tcp,rdma] NEW-BRICK...The default value for transport is
tcp. Other options can be passed such as
auth.reject. See Section 8.1, “Configuring Volume Options” for a full list of parameters.
Example 6.9. Distributed Striped Volume Across Two Storage Servers
# gluster volume create test-volume stripe 2 transport tcp server1:/exp1/brick server1:/exp2/brick server2:/exp3/brick server2:/exp4/brick Creation of test-volume has been successful Please start the volume to access data.
# gluster volume start VOLNAMEto start the volume.
# gluster volume start test-volume Starting test-volume has been successful
gluster volume infocommand to optionally display the volume information.