LCTL-SNAPSHOT_CREATE(8)
π lctl-snapshot_create β the girlie who makes snapshots π
okay bestie, welcome to the lctl-snapshot_create(8) page, straight out of the Lustre Configuration Utilities crowd. section 8, manual-page royalty, no cap. π
β¨ NAME β¨
lctl-snapshot_create β create Lustre snapshot. that's it. that's the whole job. and she does it flawlessly. π
π SYNOPSIS π
lctl snapshot_create [-b|--barrier [on|off]] [-c|--comment COMMENT]
{-F|--fsname FSNAME} [-h|--help] {-n|--name SSNAME}
[-r|--rsh REMOTE_SHELL] [-t|--timeout TIMEOUT]
look at her. look at the syntax. so structured. so iconic. β¨
πΈ DESCRIPTION πΈ
So here's the vibe: she creates a snapshot with whatever name you give her. periodt. π
First she loads the system configuration from the file /etc/ldev.conf, exactly like it's described in the SNAPSHOT section of lctl(8). yes bestie, read that one too, it's the lore. π
Then β and this is the main character moment β the snapshot pieces get created on every Lustre target: MGT/MDT/OST. all of them. nobody gets left out. π«Ά
π¦ OPTIONS π¦
-b,--barrier [on|off]β sets the write barrier on all MDTs before the snapshot gets created. default value ison. now listen: if you are confident about the system consistency, or you genuinely don't require full consistency and just wanna keep applications from getting blocked while the snapshot is being made, you can passbarrier off. that saves you time when creating the snapshot, lowkey a flex. π and if the barrier ison, then the timeout of the barrier can be specified via the-toption, as described in the next section. iykyk.-c,--comment COMMENTβ adds an optional comment to thesnapshot_createrequest. you can put literally anything in there to describe what the snapshot is for, or just as a lil reminder to future you. π and the comment can be shown viasnapshot_list. cute, right?-F,--fsname FSNAMEβ the filesystem name. that's the whole thing. that's the job. β¨-h,--helpβ for help information. bestie behavior. π-n,--name SSNAMEβ the snapshot's name, and yes it must be specified, it's not optional, don't even try. it follows the general ZFS snapshot name rules, like the max length is 256 bytes, it cannot conflict with the reserved names, and so on. follow the rules, queen. π-r,--rsh REMOTE_SHELLβ specify a shell to communicate with remote targets. default value isssh. and heads up, it is the system admin's duty to guarantee that the specifiedREMOTE_SHELLworks well among targets without password authentication. that part's on you, not on her. π-t,--timeout TIMEOUTβ if the write barrier ison, thenTIMEOUTspecifies the write barrier's lifetime in second. default value is30. not minutes. seconds. β±οΈ
π AVAILABILITY π
lctl-snapshot-create is part of the lustre(7) filesystem package since release 2.10.0. she's been around, she's experienced, she's a legend. β
π SEE ALSO π
lctl(8)lctl-barrier(8)lctl-lcfg(8)lctl-snapshot-destroy(8)lctl-snapshot-list(8)lctl-snapshot-modify(8)lctl-snapshot-mount(8)lctl-snapshot-umount(8)
the whole friend group fr fr π«Ά go read them all, they're all slaying in their own way.
ok that's the page bestie!! this one's from the Lustre girls, dated 2024-08-14, and it lives at LCTL-SNAPSHOT_CREATE(8). mwah, go make some snapshots ππ
π¦ 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