Whamcloud - gitweb
LU-611 utils: add restripe option to lfs_migrate
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 19 Aug 2011 11:21:24 +0000 (05:21 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Nov 2011 23:46:40 +0000 (19:46 -0400)
commitd6fea82d1431ec972c2661fa31223fb62498d953
tree0d830ad48f6e47d60cb449b49f3f90b2b98e0f7f
parent622b1b48a1fa9dc8c6954fa7ca596358b05af888
LU-611 utils: add restripe option to lfs_migrate

Add the "-R" option to have lfs_migrate restripe a migrated file
instead of keeping the original striping.  This is useful of some
directory got the wrong striping and a bunch of files were created
with the wrong striping.

Avoid possible confusion between the lfs_migrate and lfs setstripe
command-line options.  For now, deprecate the old "-c" option, since
it is redundant in any case.

Change-Id: I3a39bad93ef5c079678c65960e53d22e51431df3
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1265
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs_migrate.1
lustre/scripts/lfs_migrate