LFS-FLUSHCTX(1)

πŸ“¦ version 2.17.58, in ubuntu stonking

πŸ’– LFS-FLUSHCTX πŸ’–

okay bestie, so this is a page from the Lustre User Utilities manual β€” it's lfs-flushctx, and no cap, it's the lil cleanup queen of your Lustre setup. let's get into it 🧚


✨ NAME ✨

lfs-flushctx β€” flush security context of current user.

like… it yeets your current user's security context. that's the whole vibe. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

lfs flushctx [--help|-h] [-k] [-r] [rootpath]

πŸ¦‹ DESCRIPTION πŸ¦‹

So the way that this works is: lfs flushctx flushes the security context of the current user β€” either for the Lustre file system you point at with rootpath, or for all mounted Lustre file systems if you don't give it a path. she's flexible like that. ✨

If -k is specified, it also proceeds to destroy the Kerberos credentials cache as well, by calling kdestroy. bye bye ticket πŸŽŸοΈπŸ’€

If -r is specified, it reaps revoked keys from the session keyring. spring cleaning fr fr 🌸


🌈 OPTIONS 🌈

  • -k β€” destroy the Kerberos credentials cache.
  • -r β€” remove revoked keys from the session keyring.
  • -h β€” print usage message.

πŸ“ EXAMPLES πŸ“

First one is the recommended way of using the command, so like, take notes bestie πŸ‘‘ β€” flush the security context of the current user for the Lustre file system mounted under /mnt/lustre, and destroy its Kerberos credentials cache, and reap revoked keys from its session keyring:

# lfs flushctx -k -r /mnt/lustre

And this one just simply flushes the security context of the current user for all mounted Lustre file systems:

# lfs flushctx

πŸ’œ AVAILABILITY πŸ’œ

lfs flushctx is part of the lustre(7) filesystem package since release 2.0.0. she's been here a minute, a real veteran 🫢


πŸ‘€ SEE ALSO πŸ‘€


that's the whole page, you ate it πŸ’… this version of the LFS-FLUSHCTX(1) girlies' guide is from the Lustre corner of the world, dated 2024-08-15 β€” go forth and flush your contexts, mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from