Whamcloud - gitweb
LU-7256 tests: wait current LFSCK to exit before next test
[fs/lustre-release.git] / lustre / doc / lctl.8
index b7fb090..92f67ea 100644 (file)
@@ -148,17 +148,21 @@ is unspecified, all the parameters will be shown.
 .br
   ...
 .TP
-.BI get_param " [-n|-N|-F] <parameter ...>"
+.BI get_param " [-F|-n|-N|-R] <parameter ...>"
 Get the value of Lustre or LNET parameter.
 .br
+.B -F
+When -N specified, add '/', '@' or '=' for directories, symlinks and writeable files, respectively.
+.br
+.br
 .B -n
 Print only the value and not parameter name.
 .br
 .B -N
 Print only matched parameter names and not the values. (Especially useful when using patterns.)
 .br
-.B -F
-When -N specified, add '/', '@' or '=' for directories, symlinks and writeable files, respectively.
+.B -R
+Print all of the parameter names below the specified name.
 .br
 .B Examples:
 .br
@@ -445,6 +449,26 @@ Stop LFSCK on all devices.
 .TP
   -h, --help
 Show this help.
+.TP
+.B lfsck_query \fR<-M | --device MDT_device> [-h | --help]
+    \fR[-t | --type lfsck_type[,lfsck_type...]] [-w | --wait]
+.br
+Get the LFSCK global status via the specified MDT device.
+.TP
+  -M, --device <MDT_device>
+Specify the MDT device on which the LFSCK runs or ever ran.
+.TP
+  -t, --type <lfsck_type[,lfsck_type...]>
+Specify what kind(s) of LFSCK to be checked. If no type is given, the default
+is to check all types of LFSCK status. Valid types are a comma-separated list
+of one or more of: namespace, layout, all
+.TP
+  -h, --help
+Show this help.
+.TP
+  -w, --wait
+Do not return until there is no on-going LFSCK scanning on any target
+associated with this filesystem (MDT or OST).
 .SS Debug
 .TP 
 .BI debug_daemon