X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fdoc%2Flctl.8;h=92f67ea73d4b6af3d036ca17d4ed2391750bc5e2;hp=b7fb090b43785e226a7d6d1a24420fa7abd7819b;hb=6871453b053d5756aba2321122db4564df5c1c57;hpb=173b3327265b32c385a4537666a78be3cf8e4943 diff --git a/lustre/doc/lctl.8 b/lustre/doc/lctl.8 index b7fb090..92f67ea 100644 --- a/lustre/doc/lctl.8 +++ b/lustre/doc/lctl.8 @@ -148,17 +148,21 @@ is unspecified, all the parameters will be shown. .br ... .TP -.BI get_param " [-n|-N|-F] " +.BI get_param " [-F|-n|-N|-R] " 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 +Specify the MDT device on which the LFSCK runs or ever ran. +.TP + -t, --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