LCTL-SNAPSHOT-DESTROY(8)
π LCTL-SNAPSHOT_DESTROY π
okay bestie, gather round, because we're talking about lctl-snapshot_destroy β the Lustre configuration utility that destroys a Lustre snapshot. yes, destroys. like, gone gone. main character energy but make it demolition. π«Ά
β¨ SYNOPSIS β¨
lctl snapshot_destroy [-f|--force] {-F|--fsname FSNAME} [-h|--help]
{-n|--name SSNAME} [-r|--rsh REMOTE_SHELL]
πΈ DESCRIPTION πΈ
so the whole vibe here is: you point it at a snapshot, and it destroys it. periodt.
The tool loads the system configuration from the file /etc/ldev.conf, exactly as described in the lctl(8) SNAPSHOT section (go read that, iykyk π).
Then, bestie, the snapshot pieces get destroyed on every Lustre target β that's MGT/MDT/OST. all of them. no target left behind. π
π OPTIONS π
-f,--forceβ Destroy the specified snapshot by force. If the snapshot is mounted (peepsnapshot_mount), it will be unmounted first and then destroyed. And even if some pieces of the snapshot are lost or broken for some reason(s) π, the remaining parts of the snapshot can still be destroyed when you pass this option. lowkey the "just do it" button.-F,--fsnameFSNAMEβ the filesystem name. you gotta tell her which filesystem. β¨-h,--helpβ for help information. the classic. π-n,--nameSSNAMEβ the snapshot (that's the one about to be destroyed π) name must be specified. not optional, bestie. required fr fr.-r,--rshREMOTE_SHELLβ specify a shell to communicate with remote targets. the default value isssh. and listen β it is the system admin's duty to guarantee that the specifiedREMOTE_SHELLworks well among targets without password authentication. that's on you, not on the tool. π
π¦ AVAILABILITY π¦
lctl-snapshot-destroy is part of the lustre(7) filesystem package since release 2.10.0. she's been iconic for a while now. π
π SEE ALSO π
lctl(8)lctl-barrier(8)lctl-lcfg(8)lctl-snapshot-create(8)lctl-snapshot-list(8)lctl-snapshot-modify(8)lctl-snapshot-mount(8)lctl-snapshot-umount(8)
β οΈ heads up bestie: --force really does mean force. it'll unmount a mounted snapshot and pick up the broken pieces too. know what you're destroying before you destroy it. π
k that's the whole page, love u, go forth and snapshot responsibly πβ¨ β this one's from the Lustre manual, dated 2024-08-14, filed under LCTL-SNAPSHOT_DESTROY(8). mwah π
π«Ά
π¦ 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