X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2Flfs-migrate.1;h=ebb013a7fa697e789a0efe77425867f320f12c7b;hb=refs%2Fchanges%2F01%2F30301%2F4;hp=d3e21113bffd02c4b1dd0e9635f1aaae445a81e9;hpb=af4dfdeb689a5c8b86184480525fec9a6d36699a;p=fs%2Flustre-release.git diff --git a/lustre/doc/lfs-migrate.1 b/lustre/doc/lfs-migrate.1 index d3e2111..ebb013a 100644 --- a/lustre/doc/lfs-migrate.1 +++ b/lustre/doc/lfs-migrate.1 @@ -34,8 +34,10 @@ For the case of OST object migration: .B [--stripe-size|-S \fIstripe_size\fR] .B [--pool|-p \fIpool_name\fR] .B [--ost-list|-o \fIost_indices\fR] +.B [--component-end|-E \fIcomp_end\fR] .B [--block|-b] -.B [--non-block|-n] \fIfile|directory\fR +.B [--non-block|-n] +.B [--non-direct|-D] \fIfile|directory\fR .br Migrate can also be used for OST objects by omitting \fI-m\fR option. In this mode, the command has identical options to @@ -44,21 +46,28 @@ The difference between migrate and setstripe is that \fImigrate\fR will re-layout the data in existing files using the new layout parameter by copying the data from the existing OST(s) to the new OST(s). In contrast, \fIsetstripe\fR is used for creating new files with the specified layout. For -more information, see setstripe in lfs(1). +more information, see lfs-setstripe(1). .P NOTE: lfs migrate has a complementary script .B lfs_migrate which is used to provide extra functionality when migrating file data between OSTs and has a separate man page. .SH EXAMPLES -Move the inodes contained in ./testremote from their current MDT to the -MDT with index 0: -.HP +.TP .B $ lfs migrate -m 0 ./testremote +Move the inodes contained in ./testremote from their current MDT to the +MDT with index 0. +.TP +.B $ lfs migrate -c 2 /mnt/lustre/file1 +This migrate the file into a new layout with 2 stripes. +.TP +.B $ lfs migrate -E 64M -c 1 -E 256M -c 4 -E -1 -c -1 /mnt/lustre/file1 +This migrate the file into a three components composite layout. .SH AUTHOR The lfs command is part of the Lustre filesystem. .SH SEE ALSO .BR lfs (1), +.BR lfs-setstripe (1), .BR lfs-setdirstripe (1), .BR lfs-getdirstripe (1), .BR lfs-mkdir (1),