Whamcloud - gitweb
LU-17705 ptlrpc: replace synchronize_rcu() with rcu_barrier()
[fs/lustre-release.git] / lustre / doc / lctl-lfsck-query.8
1 .TH LCTL-LFSCK_QUERY 8 "2017-05-13" Lustre "configuration utilities"
2 .SH NAME
3 lctl-lfsck_query \- get Lustre File System Check global status
4 .SH SYNOPSIS
5 .br
6 .B lctl lfsck_query \fR[-M | --device MDT_device] [-h | --help]
7             \fR[-t | --type lfsck_type[,lfsck_type...]] [-w | --wait]
8 .br
9 .SH DESCRIPTION
10 Get the LFSCK global status via the specified MDT device. If "-M" option
11 is not specified, it will select the available Lustre device on current
12 server automatically. But if there are multiple devices on current server
13 those belong to different Lustre filesystems, you need to specify the
14 device (see "-M" option) explicitly.
15 .SH OPTIONS
16 .TP
17 .B  -M, --device <MDT_device>
18 Specify the MDT device on which the LFSCK runs or ever ran.
19 .TP
20 .B  -t, --type <lfsck_type[,lfsck_type...]>
21 Specify what kind(s) of LFSCK to be checked. If no type is given, the default
22 is to check all types of LFSCK status. Valid types are a comma-separated list
23 of one or more of: namespace, layout, all.
24 .TP
25 .B  -h, --help
26 Show this help.
27 .TP
28 .B  -w, --wait
29 Do not return until there is no on-going LFSCK scanning on any target
30 associated with this filesystem (MDT or OST).
31
32 .SH AVAILABILITY
33 .B lctl-lfsck-query
34 is part of the
35 .BR lustre (7)
36 filesystem package.
37 .SH SEE ALSO
38 .BR lctl (8),
39 .BR lctl-lfsck-start (8),
40 .BR lctl-lfsck-stop (8)