Mounting a GlusterFS Volume
+From GlusterDocumentation
+ + +Mounting a Volume
+To mount using a server supplied client volume file, enter the following command, substituting your server's IP address: +
+bash# mount -t glusterfs 192.168.0.1 /mnt/glusterfs ++
To mount using a local client supplied volume file, enter the following command: +
+bash# mount -t glusterfs /etc/glusterfs/glusterfs.vol /mnt/glusterfs ++
To automatically mount on every boot, add a line to the /etc/fstab file. +
For a server supplied client volume file, add the following line, substituting your server's IP address: +
+192.168.0.1 /mnt/glusterfs glusterfs defaults 0 0 ++
For a local client volume file, add the following line: +
+/etc/glusterfs/glusterfs.vol /mnt/glusterfs glusterfs defaults 0 0 ++
Mounting Options
+The following options are valid with -t glusterfs. All options have to be a comma separated values with the mount command or in the /etc/fstab file. +
+- log-level=loglevel +
- log-file=logfile +
- transport=transport-type +
- direct-io-mode=[enable|disable] +
- volume-name=volume_name +
- volume-id=volume-ID +
- If the server's listening port is different than default, enter it similarly to the following example, substituting your port number for 7997: +
bash# mount -t glusterfs 192.168.0.1:7997 /mnt/glusterfs ++
192.168.0.1:7997 /mnt/glusterfs glusterfs defaults 0 0 ++ +
Related Topics
+To automount, refer to Howto Automount GlusterFS. +
+ + + + +