summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2011-06-16 07:56:33 +0000
committerAnand Avati <avati@gluster.com>2011-06-16 09:15:22 -0700
commitdad63fa8ac00397e337f328b0bb7b641e2680932 (patch)
tree7d09c3dfc765d6719b1607cb2470beb3b48f93ee
parent1d4378e0e78309682c13d0fc0c97c3c3bb6674b7 (diff)
Update man pages to include newer options.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2444 (keep man pages upto date with new codebase.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2444
-rw-r--r--doc/glusterd.84
-rw-r--r--doc/glusterfs.87
-rw-r--r--doc/glusterfsd.814
3 files changed, 22 insertions, 3 deletions
diff --git a/doc/glusterd.8 b/doc/glusterd.8
index 43c1570..720db73 100644
--- a/doc/glusterd.8
+++ b/doc/glusterd.8
@@ -33,10 +33,10 @@ The glusterd daemon is used for elastic volume management. The daemon must be ru
.PP
.TP
-\fB\-l=<LOGFILE>, \fB\-\-log\-file=<LOGFILE>\fR
+\fB\-l <LOGFILE>, \fB\-\-log\-file=<LOGFILE>\fR
File to use for logging.
.TP
-\fB\-L=<LOGLEVEL>, \fB\-\-log\-level=<LOGLEVEL>\fR
+\fB\-L <LOGLEVEL>, \fB\-\-log\-level=<LOGLEVEL>\fR
Logging severity. Valid options are TRACE, DEBUG, INFO, WARNING, ERROR and CRITICAL (the default is INFO).
.TP
\fB\-\-debug\fR
diff --git a/doc/glusterfs.8 b/doc/glusterfs.8
index 7e4b2b4..6033b0a 100644
--- a/doc/glusterfs.8
+++ b/doc/glusterfs.8
@@ -102,7 +102,7 @@ Enable/Disable the direct-I/O mode in fuse module (the default is enable).
\fB\-?, \fB\-\-help\fR
Display this help.
.TP
-\fB\-\-usage\fReew
+\fB\-\-usage\fR
Display a short usage message.
.TP
\fB\-V, \fB\-\-version\fR
@@ -111,6 +111,11 @@ Print the program version.
.PP
.SH FILES
/etc/glusterfs/*.vol, /etc/glusterd/vols/*/*.vol
+.SH EXAMPLES
+mount a volume named foo on server bar with log level DEBUG on mount point
+/mnt/foo
+
+# glusterfs --log-level=DEBUG --volfile-id=foo --volfile-server=bar /mnt/foo
.SH SEE ALSO
.nf
diff --git a/doc/glusterfsd.8 b/doc/glusterfsd.8
index dbf3e3f..2374918 100644
--- a/doc/glusterfsd.8
+++ b/doc/glusterfsd.8
@@ -73,6 +73,15 @@ Makes the filesystem read-only
\fB\-p, \fB\-\-pid\-file=PIDFILE\fR
File to use as pid file
.TP
+\fB\-S SOCKFILE
+Socket file to used for inter-process communication
+.TP
+\fB\-\-brick\-name DIRECTORY
+Directory to be used as export directory for GlusterFS
+.TP
+\fB\-\-brick\-port PORT
+Brick Port to be registered with Gluster portmapper
+.TP
\fB\-\-volfile\-id=KEY\fR
KEY of the volume file to be fetched from server
.TP
@@ -119,6 +128,11 @@ Print program version
.SH FILES
/etc/glusterfs/*.vol
+.SH EXAMPLES
+Start a GlusterFS server on localhost with volume name foo
+
+glusterfsd -s localhost --volfile-id foo.server.media-disk-1 -p /etc/glusterd/vols/foo/run/server-media-disk-1.pid -S /tmp/<uniqueid>.socket --brick-name /media/disk-1 -l /var/log/glusterfs/bricks/media-disk-1.log --brick-port 24009 --xlator-option foo-server.listen-port=24009
+
.SH SEE ALSO
.nf
\fBfusermount\fR(1), \fBmount.glusterfs\fR(8), \fBgluster\fR(8)