Whamcloud - gitweb
LU-11776 utils: add support lfs find with mdt hash flag
[fs/lustre-release.git] / lustre / doc / lfs-migrate.1
index 1f036df..b4405e3 100644 (file)
@@ -3,7 +3,9 @@
 lfs migrate \- migrate files or directories between MDTs or OSTs.
 .SH SYNOPSIS
 .B lfs migrate
-.RI [ SETSTRIPE_OPTIONS " ... ] <" file "> ..."
+.RI [ SETSTRIPE_OPTIONS " ... ]"
+.RB [ -v ]
+.RI < file "> ..."
 .br
 .B lfs migrate -m \fIstart_mdt_index
 .RB [ -cHv ]
@@ -64,6 +66,9 @@ write operations synchronous.  Using the
 .B --non-direct
 option uses buffered read/write operations, which may improve migration
 speed at the cost of more CPU and memory overhead.
+.TP
+.BR -v , --verbose
+Print each filename as it is migrated.
 .P
 NOTE:
 .B lfs migrate
@@ -94,16 +99,21 @@ Use
 for the new layout.
 .RS 1.2i
 .TP
-.B fnv_1a_64
-Fowler-Noll-Vo (FNV-1a) hash algorithm.  This provides
-reasonably uniform, but not cryptographically strong,
-hashing of the filename. (default)
-.TP
-.B all_char
+.B all_char (type 1)
 Sum of ASCII characters modulo number of MDTs. This
 provides weak hashing of the filename, and is suitable
 for only testing or when the input is known to have
 perfectly uniform distribution (e.g. sequential numbers).
+.TP
+.B fnv_1a_64 (type 2)
+Fowler-Noll-Vo (FNV-1a) hash algorithm.  This provides
+reasonably uniform, but not cryptographically strong,
+hashing of the filename. (default)
+.TP
+.B crush (type 3)
+CRUSH hash algorithm.  This is a consistent hash
+algorithm, so minimum sub files need to relocate
+during directory restripe.
 .RE
 .P
 Only the root user can migrate directories.  Files that have been archived by