Bug 1276228 - [BACKUP]: Information about regenerate-outfile is missing in the admin guide for glusterfind pre cli
Summary: [BACKUP]: Information about regenerate-outfile is missing in the admin guide ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Administration_Guide
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: RHGS 3.1.3
Assignee: Divya
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1310215
TreeView+ depends on / blocked
 
Reported: 2015-10-29 07:04 UTC by Rahul Hinduja
Modified: 2017-11-17 05:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rahul Hinduja 2015-10-29 07:04:28 UTC
Document URL: 
=============
http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20%28html-single%29/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Backup_Utility


Section Number and Name: 
=========================
21.1. Glusterfind Configuration Options

Describe the issue: 
===================

Currently the guide describes the glusterfind cli as:
+++++++++++++++++++++++++++++++++++++++++++++++++++++


Glusterfind Pre
To retrieve the list of modified files and directories and store it in the outfile, execute the following command:

glusterfind pre [-h] [-N | --only-namespace-changes] [--debug] [--full] [--output-prefix OUTPUT_PREFIX] [--disable-partial] <SessionName> <volname> <outfile>

where,
OUTPUT_PREFIX: It is the prefix to the path/name that is specified in the outfile.
--only-namespace-changes OR -N: It lists only those files that are detected as New, Rename, Link, Unlink etc. It does not list files/directories which are modified.
--full: It triggers a full crawl of the filesystem
--disable-partial: It is used to disable the partial-find feature that is enabled by default.
--help OR -h: Displays help for the command
outfile: The incremental list of modified files.
SessionName: Unique name of a session.
volname: Name of the volume for which the pre command is executed. 


Whereas in actual CLI we have
++++++++++++++++++++++++++++++

[root@dhcp37-165 ~]# glusterfind pre -h
usage: glusterfind pre [-h] [--debug] [--full] [--disable-partial]
                       [--output-prefix OUTPUT_PREFIX] [--regenerate-outfile]
                       [-N]
                       session volume outfile

positional arguments:
  session               Session Name
  volume                Volume Name
  outfile               Output File

optional arguments:
  -h, --help            show this help message and exit
  --debug               Debug
  --full                Full find
  --disable-partial     Disable Partial find, Fail when one node fails
  --output-prefix OUTPUT_PREFIX
                        File prefix in output
  --regenerate-outfile  Regenerate outfile, discard the outfile generated from
                        last pre command
  -N, --only-namespace-changes
                        List only namespace changes
[root@dhcp37-165 ~]# 



Information about regenerated-output file is missing in the guide.

Comment 3 Divya 2016-05-25 09:04:06 UTC
Aravinda,

I have updated "Glusterfind Pre" command based on the bug description.

Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/view/Gluster/job/doc-Red_Hat_Gluster_Storage-3.1.3-Administration_Guide%20%28html-single%29/lastBuild/artifact/tmp/en-US/html-single/index.html#idm139986987520096

Please review and provide feedback.

Thanks!

Comment 4 Divya 2016-06-02 11:13:02 UTC
Aravind performed an online review of the doc and I have incorporated his suggestions.

Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/view/Gluster/job/doc-Red_Hat_Gluster_Storage-3.1.3-Administration_Guide%20%28html-single%29/lastBuild/artifact/tmp/en-US/html-single/index.html#idm139866880138032

Note that the updated documentation is based on the 3.1.3 command template with only recommended options.

Comment 5 Anil Shah 2016-06-13 10:42:52 UTC
As discussed with arvinda, cli option -N and --full are not exposed to customer.
So its not mentioned in glusterfind pre command output and description in admin guide.

Else doc texts looks good to me.


Note You need to log in before you can comment on or make changes to this bug.