Whamcloud - gitweb
LU-4293 utils: handle lfs migrate failure in lfs_migrate
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 18 Dec 2013 08:50:56 +0000 (01:50 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 7 Feb 2014 04:14:48 +0000 (23:14 -0500)
commit0689702499f186d01fc9d552095ac5c317c3672d
tree4209d9023765d76ca894ca45ec61966245e490f7
parent5ce035d2f5d8e1f030c05e374f4e7b5d67327216
LU-4293 utils: handle lfs migrate failure in lfs_migrate

If "lfs migrate" returns an error, possibly because it is refusing
to migrate an IGIF FID, fall back to using rsync to copy the file
and rename it.  Print a message in this case so the user knows it
is not a fatal error yet.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I114006afb93d8c8d78923a874f3b914200500c1e
Reviewed-on: http://review.whamcloud.com/8616
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/scripts/lfs_migrate
lustre/utils/lfs.c