Whamcloud - gitweb
LU-6494 hsm: add support to lfs to remove by fid 81/14581/7
authorFrank Zago <fzago@cray.com>
Fri, 24 Apr 2015 18:50:53 +0000 (13:50 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 May 2015 22:10:22 +0000 (22:10 +0000)
commit05f964655a9353a7069250b4e3f7588386f57277
tree6eebae10a58e7b4deb9c40edf9a256d231f3c43a
parentfdd5596593050d22feef05ecba6ba53c65cb3397
LU-6494 hsm: add support to lfs to remove by fid

Once an archived file has been deleted from Lustre, the only way to
remove it from an archive is to access the archive and delete it.

Enhance lfs hsm_remove so it can take an archive id and a fid to
delete that file. The FID has to be known somehow before the file is
deleted.

The lfs hsm_remove command gains a mntpath option to point to the
Lustre mountpoint, and an archive ID option.

Signed-off-by: frank zago <fzago@cray.com>
Change-Id: Ib7c5ab07d66754c71038147aa4524fd3a737a88f
Reviewed-on: http://review.whamcloud.com/14581
Tested-by: Jenkins
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh
lustre/utils/lfs.c