Whamcloud - gitweb
9ae8d59d08b9213e13858fe0a0cc610c91f22b61
[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. If "-M" option
9 is not specified, it will select the available Lustre device on current
10 server automatically. But if there are multiple devices on current server
11 those belong to different Lustre filesystems, you need to specify the
12 device (see "-M" option) explicitly.
13 .SH OPTIONS
14 .TP
15 .B  -M, --device <MDT_device>
16 Specify the MDT device on which the LFSCK runs or ever ran.
17 .TP
18 .B  -t, --type <lfsck_type[,lfsck_type...]>
19 Specify what kind(s) of LFSCK to be checked. If no type is given, the default
20 is to check all types of LFSCK status. Valid types are a comma-separated list
21 of one or more of: namespace, layout, all.
22 .TP
23 .B  -h, --help
24 Show this help.
25 .TP
26 .B  -w, --wait
27 Do not return until there is no on-going LFSCK scanning on any target
28 associated with this filesystem (MDT or OST).
29
30 .SH AVAILABILITY
31 .B lctl-lfsck-query
32 is part of the
33 .BR lustre (7)
34 filesystem package.
35 .SH SEE ALSO
36 .BR lctl (8),
37 .BR lctl-lfsck-start (8),
38 .BR lctl-lfsck-stop (8)