11.5. 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:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow umount mount-point
# umount mount-point
- Stop the volumes using the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume stop volname
# gluster volume stop volname
- Change the transport type. For example, to enable both tcp and rdma execute the followimg command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow gluster volume set volname config.transport tcp,rdma OR tcp OR rdma
# gluster volume set volname config.transport tcp,rdma OR tcp OR rdma
- Mount the volume on all the clients. For example, to mount using rdma transport, use the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow mount -t glusterfs -o transport=rdma server1:/test-volume /mnt/glusterfs
# mount -t glusterfs -o transport=rdma server1:/test-volume /mnt/glusterfs