LCTL-SNAPSHOT-DESTROY(8)

πŸ“¦ version 2.17.58, in ubuntu stonking

πŸ’… 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 (peep snapshot_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, --fsname FSNAME β€” the filesystem name. you gotta tell her which filesystem. ✨
  • -h, --help β€” for help information. the classic. πŸŽ€
  • -n, --name SSNAME β€” the snapshot (that's the one about to be destroyed πŸ‘€) name must be specified. not optional, bestie. required fr fr.
  • -r, --rsh REMOTE_SHELL β€” specify a shell to communicate with remote targets. the default value is ssh. and listen β€” it is the system admin's duty to guarantee that the specified REMOTE_SHELL works 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 πŸ‘€


⚠️ 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