From 2e72ab757143b73ec8d148086830f081402c6a59 Mon Sep 17 00:00:00 2001
From: tianzy <tianzy>
Date: Thu, 11 Dec 2008 08:11:43 +0000
Subject: [PATCH] Branch b1_6 add ll_recover_lost_found_objs to lustre manual
 b=16911

---
 lustre/doc/Makefile.am                  |  2 +-
 lustre/doc/ll_recover_lost_found_objs.8 | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 lustre/doc/ll_recover_lost_found_objs.8

diff --git a/lustre/doc/Makefile.am b/lustre/doc/Makefile.am
index 0b87c5fdca..16fe3762b7 100644
--- a/lustre/doc/Makefile.am
+++ b/lustre/doc/Makefile.am
@@ -48,7 +48,7 @@ SUFFIXES = .lin .lyx .pdf .ps .sgml .html .txt .tex .fig .eps .dvi
 
 MANFILES = lustre.7 lfs.1 mount.lustre.8 mkfs.lustre.8 tunefs.lustre.8 lctl.8 \
 	llverdev.8 llbackup.8 llapi_quotactl.3 llobdstat.8 llstat.8 plot-llstat.8 \
-	l_getgroups.8 lst.8 routerstat.8 lshowmount.8
+	l_getgroups.8 lst.8 routerstat.8 lshowmount.8 ll_recover_lost_found_objs.8
 if UTILS
 man_MANS = $(MANFILES)
 endif
diff --git a/lustre/doc/ll_recover_lost_found_objs.8 b/lustre/doc/ll_recover_lost_found_objs.8
new file mode 100644
index 0000000000..717c2ef014
--- /dev/null
+++ b/lustre/doc/ll_recover_lost_found_objs.8
@@ -0,0 +1,25 @@
+.TH ll_recover_lost_found_objs 1 "Aug 21, 2008" Lustre "utilities"
+.SH NAME
+ll_recover_lost_found_objs \- recover Lustre OST objects in lost+found
+.SH SYNOPSIS
+.B "ll_recover_lost_found_objs [-hv] -d directory"
+.br
+.SH DESCRIPTION
+.B ll_recover_lost_found_objs
+recovers objects from lost+found that might result from a
+Lustre OST with a corrupted directory. Running e2fsck will fix the
+directory, but puts all of the objects into lost+found, where they are
+inaccessible to Lustre.
+.TP
+.I "\-h"
+Print help message.
+.TP
+.I "\-v"
+Increase verbosity.
+.TP
+.I "\-d directory"
+Set lost+found directory path.
+.SH EXAMPLE
+.fi
+ll_recover_lost_found_objs -d /mnt/ost/lost+found
+.fi
-- 
GitLab