Whamcloud - gitweb
LU-7117 osp: set ptlrpc_request::rq_allow_replay properly
[fs/lustre-release.git] / lustre / doc / lctl-lfsck-query.8
1 .TH lctl-lfsck-stop 8 "2016 Apr 1" Lustre "Lustre online fsck"
2 .SH SYNOPSIS
3 .br
4 .B lctl lfsck_query \fR<-M | --device MDT_device> [-h | --help]
5             \fR[-t | --type lfsck_type[,lfsck_type...]] [-w | --wait]
6 .br
7 .SH DESCRIPTION
8 Get the LFSCK global status via the specified MDT device.
9 .SH OPTIONS
10 .TP
11 .B  -M, --device <MDT_device>
12 Specify the MDT device on which the LFSCK runs or ever ran.
13 .TP
14 .B  -t, --type <lfsck_type[,lfsck_type...]>
15 Specify what kind(s) of LFSCK to be checked. If no type is given, the default
16 is to check all types of LFSCK status. Valid types are a comma-separated list
17 of one or more of: namespace, layout, all.
18 .TP
19 .B  -h, --help
20 Show this help.
21 .TP
22 .B  -w, --wait
23 Do not return until there is no on-going LFSCK scanning on any target
24 associated with this filesystem (MDT or OST).
25
26 .SH AVAILABILITY
27 .B lctl
28 is part of the
29 .BR Lustre (7)
30 filesystem package.
31 .SH SEE ALSO
32 .BR lustre (7),
33 .BR lctl-lfsck-start (8),
34 .BR lctl-lfsck-stop (8)