Whamcloud - gitweb
LU-9324 lfs: add setstripe --copy=lustre_file_or_dir parameter 79/26879/6
authorBobi Jam <bobijam.xu@intel.com>
Fri, 28 Apr 2017 06:18:47 +0000 (14:18 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:13:27 +0000 (19:13 +0000)
commit156883002a78d23645fa01931ae5e39a570fefbf
treeee7300b3afd0984dcf8e9689500d3da77d8826d9
parent34e3281f63528630116c8164eb4cd2b5af92317d
LU-9324 lfs: add setstripe --copy=lustre_file_or_dir parameter

Add a "lfs setstripe --copy=<lustre_src> <lustre_file_or_dir_dst>"
usage to set stripe using stripe info from a source lustre file/dir.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Ibcd80f98c53bdff5b41ba9b1010fceefd6c9d8b7
Reviewed-on: https://review.whamcloud.com/26879
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/tests/sanity-flr.sh
lustre/tests/sanity-pfl.sh
lustre/utils/lfs.c