11.4. Configuring Transport Types for a Volume
A volume can support one or more transport types for communication between clients and brick processes. There are three types of supported transport, which are, tcp, rdma, and tcp,rdma.
To change the supported transport types of a volume, follow the procedure:
- Unmount the volume on all the clients using the following command:
umount mount-point
# umount mount-point
Copy to Clipboard Copied! - Stop the volumes using the following command:
gluster volume stop volname
# gluster volume stop volname
Copy to Clipboard Copied! - Change the transport type. For example, to enable both tcp and rdma execute the followimg command:
gluster volume set volname config.transport tcp,rdma OR tcp OR rdma
# gluster volume set volname config.transport tcp,rdma OR tcp OR rdma
Copy to Clipboard Copied! - Mount the volume on all the clients. For example, to mount using rdma transport, use the following command:
mount -t glusterfs -o transport=rdma server1:/test-volume /mnt/glusterfs
# mount -t glusterfs -o transport=rdma server1:/test-volume /mnt/glusterfs
Copy to Clipboard Copied!