From 95f579520f793f2a2f357a51add59b62e783775e Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 9 Dec 2019 02:04:49 -0700 Subject: [PATCH] LU-930 doc: fix formatting errors in lfs_migrate.1 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 Change-Id: I5de290e00c5fd718e53ac0fc801d44e1cf3ebbe5 Reviewed-on: https://review.whamcloud.com/36959 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Shaun Tancheff Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin --- lustre/doc/lfs_migrate.1 | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lustre/doc/lfs_migrate.1 b/lustre/doc/lfs_migrate.1 index bb5e604..1c23476 100644 --- a/lustre/doc/lfs_migrate.1 +++ b/lustre/doc/lfs_migrate.1 @@ -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. +.TP .B \\--min-free|-M \fI 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 +.B \\--stripe-size|-S +.I +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 @@ -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 -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 -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 -- 1.8.3.1