LCTL-LFSCK_QUERY(8)

NAME
lctl-lfsck_query - get Lustre File System Check global status

SYNOPSIS
lctl lfsck_query [-M|--device MDT_DEVICE] [-h|--help] [-t|--type LFSCK_TYPE[,LFSCK_TYPE...]] [-w|--wait]

DESCRIPTION
Get the LFSCK global status via the specified MDT device. If "-M" option is not specified, it will select the available Lustre device on current server automatically. But if there are multiple devices on current server those belong to different Lustre filesystems, you need to specify the device (see -M option) explicitly.

OPTIONS

-M, --device MDT_DEVICE
    Specify the MDT device on which the LFSCK runs or ever ran.

-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.

-h, --help
    Show this help.

-w, --wait
    Do not return until there is no on-going LFSCK scanning on any target associated with this filesystem (MDT or OST).

AVAILABILITY
lctl-lfsck-query is part of the lustre(7) filesystem package since release 2.9.0

SEE ALSO
lctl(8), lctl-lfsck-start(8), lctl-lfsck-stop(8)