Whamcloud - gitweb
LU-930 doc: fix formatting errors in lfs_migrate.1 59/36959/2
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 9 Dec 2019 09:04:49 +0000 (02:04 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jan 2020 07:42:29 +0000 (07:42 +0000)
Add missing .TP sections for the command-line options.
Remove duplicate EXAMPLES section and '--yes' from bad merge.

Test-Parameters: trivial
Fixes: 99d7a8ed43b ("LU-8207 scripts: add auto-stripe option to lfs_migrate")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I5de290e00c5fd718e53ac0fc801d44e1cf3ebbe5
Reviewed-on: https://review.whamcloud.com/36959
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs_migrate.1

index bb5e604..1c23476 100644 (file)
@@ -97,6 +97,7 @@ Display help information.
 Do not fall back to using rsync if
 .BR lfs-migrate (1) " fails."
 Cannot be used at the same time as \fB--rsync\fR.
 Do not fall back to using rsync if
 .BR lfs-migrate (1) " fails."
 Cannot be used at the same time as \fB--rsync\fR.
+.TP
 .B \\--min-free|-M \fI<min_free>
 When \fB-A \fRis set, only consider OSTs with free space greater than the
 \fImin_free \fRvalue to be available for migration.  The value is specified in
 .B \\--min-free|-M \fI<min_free>
 When \fB-A \fRis set, only consider OSTs with free space greater than the
 \fImin_free \fRvalue to be available for migration.  The value is specified in
@@ -122,6 +123,11 @@ and are therefore not listed here).
 Skip file data comparison after migrate.  Default is to compare migrated file
 against original to verify correctness.
 .TP
 Skip file data comparison after migrate.  Default is to compare migrated file
 against original to verify correctness.
 .TP
+.B \\--stripe-size|-S
+.I <stripe_size>
+Restripe file using the specified stripe size. This option may not be
+specified at the same time as the \fB-R \fRoption.
+.TP
 .B \\--verbose|-v
 Show verbose debug messages.
 .B \\--max-free|-X \fI<max_free>
 .B \\--verbose|-v
 Show verbose debug messages.
 .B \\--max-free|-X \fI<max_free>
@@ -131,16 +137,6 @@ value is specified in KB.  This option is useful for testing, by simulating
 OSTs that are nearly full.
 .TP
 .B \\--yes|-y
 OSTs that are nearly full.
 .TP
 .B \\--yes|-y
-Answer 'y' to usage warning without prompting (for scripts; use with caution).
-.SH EXAMPLES
-To rebalance all files within
-.I /testfs/jobs/2011
-.B \\--stripe-size|-S
-.I <stripe_size>
-Restripe file using the specified stripe size. This option may not be
-specified at the same time as the \fB-R \fRoption.
-.TP
-.B \\--yes|-y
 Answer 'y' to usage warning without prompting (for scripts, use with caution).
 .TP
 .B \\-0
 Answer 'y' to usage warning without prompting (for scripts, use with caution).
 .TP
 .B \\-0