commit 64d52061db398d3724e7234703fe245f63d56faf Author: kueller Date: Fri Feb 18 10:37:51 2011 +0000 Merge mit V962 Tree git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_glusterfs@5984 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/etc/init/glusterfsd.conf b/etc/init/glusterfsd.conf new file mode 100644 index 0000000..29e83bc --- /dev/null +++ b/etc/init/glusterfsd.conf @@ -0,0 +1,24 @@ +description "Startup GlusterFS Daemon" +author "Michael Freitag " +version 1.0 +emits none special + +start on (runlevel [2345] and (started mountfs)) +stop on runlevel [016] + +console none + +pre-start script + source /etc/init/functions + if [ ! -f /etc/glusterfs/glusterfsd.vol ]; then + exit 10 + fi + modprobe fuse +end script + +post-start exec mount -a -t glusterfs + +pre-stop exec umount -a -t fuse.glusterfs + + +exec /usr/sbin/glusterfsd -N -f /etc/glusterfs/glusterfsd.vol diff --git a/usr/share/doc/glusterfs/Mounting_a_GlusterFS_Volume.html b/usr/share/doc/glusterfs/Mounting_a_GlusterFS_Volume.html new file mode 100644 index 0000000..94f9c2f --- /dev/null +++ b/usr/share/doc/glusterfs/Mounting_a_GlusterFS_Volume.html @@ -0,0 +1,207 @@ + + + + + + + + + + + Mounting a GlusterFS Volume - GlusterDocumentation + + + + + + + + + + + + + + + + +
+
+ +
Gluster
+
+
Back to Gluster.com
+ + +
+
+
+ + +
+ + +
+ + +
+ + + +
+ +

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
    +
    +
  • If you are adding the listening port to the /etc/fstab file, see the following example:
  • +
    192.168.0.1:7997  /mnt/glusterfs  glusterfs  defaults  0  0
    +
    +
+

Related Topics

+

To automount, refer to Howto Automount GlusterFS. +

+ + + + +
+ +
+ + +
+ +
+ +
+
+

 

+
+
+

Copyright © 2009 Gluster, Inc. All Rights Reserved.

+ +
+ +
+
+
+ + +
+ + + + + +