Whamcloud - gitweb
LU-4102 utils: add dry-run to ll_recover_lost_found_objs 61/8061/6
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 24 Oct 2013 08:11:54 +0000 (02:11 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Feb 2014 08:04:06 +0000 (08:04 +0000)
commitf86463356d9460cc79327d6fc7d2fc8db782e3cb
treeb47da14392d6266049f61827b6f741c65cd14e91
parent4ea22ab924e958e9a93f961375df598d4786fdd2
LU-4102 utils: add dry-run to ll_recover_lost_found_objs

Add the dry-run (-n) option to ll_recover_lost_found_objs.  This
allows scanning an OST filesystem without modifying it.

It is now possible to test both the "lost+found/" directory, as well
as the "O/" directory to verify the LMA and FID xattrs on existing
objects that are in the normal filesystem hierarchy.

Fix verbose (-v) option to print all of the inodes being checked.
This option previously did nothing.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I8e2b427046c6acf5cf7429f41ccd57496c500c1e
Reviewed-on: http://review.whamcloud.com/8061
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/ll_recover_lost_found_objs.8
lustre/tests/conf-sanity.sh
lustre/utils/ll_recover_lost_found_objs.c