LCTL-LFSCK_QUERY(8)
π LCTL-LFSCK_QUERY β¨
okay bestie, pull up a chair, because we're talking about lctl-lfsck_query β a lil' slice of the Lustre Configuration Utilities manual (that's lctl-lfsck_query(8) if you're being formal, which, valid). it's the glow-up check-in for your Lustre File System Check. let's get into it π«Ά
πΈ NAME πΈ
lctl-lfsck_query β get Lustre File System Check global status π
like, the vibe check for LFSCK itself. iconic.
π SYNOPSIS π
lctl lfsck_query [-M|--device MDT_DEVICE] [-h|--help] [-t|--type
LFSCK_TYPE[,LFSCK_TYPE...]] [-w|--wait]
she's compact, she's precise, she's giving main character energy π
π¦ DESCRIPTION π¦
so basically, you run this to get the LFSCK global status via the MDT device you point at. that's the whole job. no cap.
now here's the tea about picking a device β οΈ: if you don't pass the -M option, it will select the available Lustre device on current server automatically. super chill, super convenient β BUT. if there are multiple devices on the current server that belong to different Lustre filesystems, you need to specify the device (see the -M option) explicitly. no guessing games, bestie, you have to tell her which one you mean. fr fr.
β¨ OPTIONS β¨
-M,--deviceMDT_DEVICE β specify the MDT device on which the LFSCK runs or ever ran. like, "this one right here π ".-t,--typeLFSCK_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. mix and match, go off π.-h,--helpβ show this help. bless. π-w,--waitβ do not return until there is no on-going LFSCK scanning on any target associated with this filesystem (MDT or OST). she will simply wait. patient queen energy β³π.
π AVAILABILITY π
lctl-lfsck-query is part of the lustre(7) filesystem package since release 2.9.0. so if you're on 2.9.0 or later, you're eating good π
π SEE ALSO π
the whole friend group, honestly. go read them, iykyk π
β little reminder bestie: -M not specified = auto-pick, but multiple devices from different filesystems on the same server = you must say which one explicitly. don't get caught lacking π
and that's the page, babe! this one's from the Lustre manual set, dated 2024-08-13, and yes β LCTL-LFSCK_QUERY(8) is the official name, we're just saying it cuter. periodt πβ¨π
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms