LCTL-LCFG_CLEAR(8)
π 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:
lctl(8)lctl-lcfg_erase(8)lctl-lcfg_fork(8)lctl-llog_catlist(8)lctl-llog_clear(8)lctl-llog_print(8)lctl-snapshot-create(8)lctl-snapshot-destroy(8)
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
- 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