LCTL-LFSCK_QUERY(8)

πŸ“¦ version 2.17.58, in ubuntu stonking

πŸ’… 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, --device MDT_DEVICE β€” specify the MDT device on which the LFSCK runs or ever ran. like, "this one right here πŸ’…".
  • -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. 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