LCTL-LCFG_CLEAR(8)

πŸ“¦ version 2.17.58, in ubuntu stonking

πŸ’… lctl-lcfg_clear β€” bestie edition πŸ’…

okay so you found the lctl-lcfg_clear page, and honestly? it's giving "spring cleaning but for your filesystem's config llog" and i am obsessed. this lives in the Lustre Configuration Utilities section (section 8, for the record πŸŽ€).


✨ NAME ✨

lctl-lcfg_clear β€” clear the filesystem config llog, periodt.


🌸 SYNOPSIS 🌸

lctl lcfg_clear FSNAME|TARGET

πŸ’– DESCRIPTION πŸ’–

so like, lcfg_clear (and yes bestie, it also answers to the alias clear_conf β€” same girl, two names πŸ’…) gets run on the MGS node, and the MGS device has to be mounted with the -o nosvc,noclient flags. no notes, that's just the vibe check it needs to pass.

what does it actually do? it cleans up any records that are marked SKIP from the configuration files stored in the CONFIGS/ directory. bye to the leftovers, they're not coming to the function anymore 🫢.

now here's the fork in the road:

  • if you hand it a specific TARGET name, then the logs for that target get processed β€” like, say, testfs-MDT0000, for example.
  • otherwise, if you give it a filesystem FSNAME instead, then all the configuration files for that filesystem get cleared. all of them. every single one ✨.

and because we love a safety net, the previous configuration log gets backed up on the MGS disk with the suffix 'config.timestamp.bak'</cyan> β€” so like <cyan>'testfs-MDT0000.1476454535.bak' or whatever. iconic behaviour honestly, main character energy πŸ‘‘.


🌈 AVAILABILITY 🌈

lctl-lcfg_clear has been part of the lustre(7) filesystem package since release 2.11.0. it's not new new, it's been here. lowkey a veteran πŸ’œ.


πŸ¦‹ SEE ALSO πŸ¦‹

go read these too, they're all part of the same friend group fr fr:


and that's the whole page bestie, we ate that πŸ“βœ¨ this one's from the Lustre crew, dated 2026-03-27, and it's lctl-lcfg_clear(8) β€” ily, go clear those SKIP records responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from