Whamcloud - gitweb
LU-1519 llite: Add a mount flag to clarify DAC handling
[fs/lustre-release.git] / lustre / doc / lfs_migrate.1
index bf65ebe..4fd18f3 100644 (file)
@@ -4,10 +4,13 @@
 \- simple tool to migrate files between Lustre OSTs
 .SH SYNOPSIS
 .B lfs_migrate
-.RB [ -c | -s ]
+.RB [ -c <stripe_count> ]
 .RB [ -h ]
 .RB [ -l ]
 .RB [ -n ]
+.RB [ -q ]
+.RB [ -R ]
+.RB [ -s ]
 .RB [ -y ]
 .RI [ file | "directory ..." ]
 .br
@@ -54,15 +57,9 @@ directory (potentially changing the stripe count, stripe size, OST pool,
 or OST index of a new file).
 .SH OPTIONS
 .TP
-.B \\-c
-Compare file data after migrate (default, use
-.B \\-s
-to disable).
-.TP
-.B \\-s
-skip file data comparison after migrate (use
-.B \\-c
-to enable).
+.B \\-c <stripe_count>
+Restripe file using the specified stripe count. This option may not be
+specified at the same time as the -R option.
 .TP
 .B \\-h
 Display help information.
@@ -79,13 +76,21 @@ Only print the names of files to be migrated
 .B \\-q
 Run quietly (don't print filenames or status)
 .TP
+.B \\-R
+Restripe file using default directory striping instead of keeping striping.
+This option may not be specified at the same time as the -c option.
+.TP
+.B \\-s
+skip file data comparison after migrate.  Default is to compare migrated file
+against original to verify correctness.
+.TP
 .B \\-y
-Answer 'y' to usage warning without prompting (for scripts)
+Answer 'y' to usage warning without prompting (for scripts, use with caution).
 .SH EXAMPLES
 To rebalance all files within
 .IR /mnt/lustre/dir :
 .IP
-lfs_migrate /mnt/lustre/file
+lfs_migrate /mnt/lustre/dir
 .PP
 To migrate files within the
 .I /test