LCTL-NOD...EL_OFFSET(8)
π lctl-nodemap_del_offset β the section-8 girlie from the Lustre Configuration Utilities crew β¨
okay so bestie, welcome to lctl-nodemap_del_offset(8), and yes that's a section-8 manual page, we're in the big leagues now π«Ά
β¨ NAME β¨
lctl-nodemap_del_offset β remove an ID mapping offset from a nodemap. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
lctl nodemap_del_offset or
lctl nodemap del_offset --name NAME
two ways to say the same thing, pick your fave, both slay π
π¦ DESCRIPTION π¦
nodemap_del_offset removes an identity mapping offset from a nodemap β and it does it for the UID, GID and PROJID types. all three, no picking favourites π₯
π OPTIONS π
--name NAMEβ the name of the nodemap you're removing the offset from. tell it which nodemap, bestie, it can't read your mind π
π NOTES π (read this one, fr fr)
okay so this is the part where I hold your hand π«Ά removing an offset from a nodemap does NOT affect the UID, GID, or PROJID of any files that were previously created under this nodemap. like, the files are just out there living their lives with the old numbers π
so if those files get mapped into a different nodemap, then their UID, GID, and PROJID must be changed on a trusted client β and that client needs access to the unmapped, canonical file system IDs, periodt. you do that with chown(1), chgrp(1), and lfs project(1), going from the old offset range to the new offset. no cap, that's the whole procedure π
the way that removing an offset from a nodemap should be avoided whenever possibleβ¦ yeah. it's giving "last resort energy". plan around it if you can π
π EXAMPLES π
remove the already existing offset from nodemap remotesite:
# lctl nodemap_del_offset --name remotesite
look at her go. iconic. β¨
π AVAILABILITY π
lctl nodemap_del_offset is part of the lustre(7) filesystem package, and it's been here since release 2.16.0. she's new-ish but she's thriving π§
β SEE ALSO β
lustre(7), lctl-nodemap-activate(8), lctl-nodemap-add-idmap(8), lctl-nodemap-add-offset(8), lctl-nodemap-add-range(8), lctl-nodemap-del(8), lctl-nodemap-del-idmap(8), lctl-nodemap-del-range(8), lctl-nodemap-modify(8), lctl-nodemap-new(8)
the whole friend group, go say hi π
that's the page, bestie π brought to you by Lustre, dated 2024-08-21, straight out of the LCTL-NOD...EL_OFFSET(8) corner of the manual. go off, map responsibly, and don't delete offsets you might need later ππ
π¦ 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