LCTL-SNAPSHOT_MODIFY(8)
π LCTL-SNAPSHOT_MODIFY π
okay bestie, this is a section 8 (system admin) page from the Lustre Configuration Utilities lineup, and it's literally just one tool that edits your snapshots π
β¨ NAME β¨
lctl-snapshot_modify β modify Lustre snapshot πΈ
π¦ SYNOPSIS π¦
lctl snapshot_modify [-c|--comment COMMENT] {-F|--fsname FSNAME}
[-h|--help] {-n|--name SSNAME} [-N|--new
NEW_SSNAME] [-r|--rsh REMOTE_SHELL]
π DESCRIPTION π
So basically, this bad boy modifies the snapshot you point it at. It pulls your system config out of the file /etc/ldev.conf, exactly the way it's described in the SNAPSHOT section of lctl(8). Then it goes and modifies the snapshot pieces on every single Lustre target β that's MGT, MDT, and OST. Every one of them. No skips. π₯
π OPTIONS π
-c,--comment COMMENTβ drop a comment in there (if you never set one back when you ransnapshot_create) or change the comment that's already on the snapshot you're messing with. π¬-F,--fsname FSNAMEβ the filesystem name, bestie. You gotta tell it which one. β¨-h,--helpβ for help information, obviously. Ask and you shall receive. π-n,--name SSNAMEβ the name of the snapshot you're modifying. This one is required, no cap, it must be specified. π-N,--new NEW_SSNAMEβ renames the snapshot to the new name. It follows the general ZFS snapshot name rules β like the max length is256bytes, it can't conflict with the reserved names, all that jazz. π-r,--rsh REMOTE_SHELLβ pick a shell for talking to remote targets. The default value isssh. And ngl, it is the system admin's duty to guarantee that the specifiedREMOTE_SHELLworks well among targets without password authentication. That part is on you, not on us. π
π AVAILABILITY π
lctl-snapshot-modify is part of the lustre(7) filesystem package since release 2.10.0 π¦
β SEE ALSO β
lctl(8), lctl-barrier(8), lctl-lcfg(8), lctl-snapshot-create(8), lctl-snapshot-destroy(8), lctl-snapshot-list(8), lctl-snapshot-mount(8), lctl-snapshot-umount(8)
lowkey iconic of you to read the whole thing, fr fr π«Ά
and that's a wrap!! this page is brought to you by Lustre, dated 2024-08-14, stay slay bestie π
π¦ 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