From dad63fa8ac00397e337f328b0bb7b641e2680932 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Thu, 16 Jun 2011 07:56:33 +0000 Subject: Update man pages to include newer options. Signed-off-by: Sachidananda Urs Signed-off-by: Anand Avati BUG: 2444 (keep man pages upto date with new codebase.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2444 --- doc/glusterd.8 | 4 ++-- doc/glusterfs.8 | 7 ++++++- doc/glusterfsd.8 | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/glusterd.8 b/doc/glusterd.8 index 43c1570f6..720db738b 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=, \fB\-\-log\-file=\fR +\fB\-l , \fB\-\-log\-file=\fR File to use for logging. .TP -\fB\-L=, \fB\-\-log\-level=\fR +\fB\-L , \fB\-\-log\-level=\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 7e4b2b49d..6033b0af5 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 dbf3e3fda..2374918b2 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/.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) -- cgit