VIRT-SANLOCK-CLEANUP(8)

✨ VIRT-SANLOCK-CLEANUP(8) ✨

okay so bestie, welcome to virt-sanlock-cleanup β€” the manual page, the moment, the whole vibe πŸ’… (it lives in the Virtualization Support corner of the universe, iykyk)


🌸 NAME 🌸

virt-sanlock-cleanup β€” removes those stale sanlock resource lease files 🧹✨

πŸŽ€ SYNOPSIS πŸŽ€

virt-sanlock-cleanup

that's it. no flags, no args, just vibes and a single command 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, bestie β˜• β€” this tool goes in and removes any resource lease files created by the sanlock lock manager plugin. no cap.

here's the thing tho: those resource lease files only need to exist on disks when a guest that's using the resource is actually active. like, they're not meant to just sit there forever collecting dust πŸ™ˆ. so this script does the reclaiming β€” it takes back the disk space that's being hogged by resources that aren't currently active. literally spring cleaning for your leases πŸ§ΌπŸ’–

⭐ EXIT STATUS ⭐

  • 0 β€” set when the leases cleanup was processed successfully, slay βœ…
  • non-zero β€” set upon a fatal error, and that's the vibe check failing πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Daniel P. BerrangΓ© β€” the icon who wrote this, periodt 🫑

πŸ› BUGS πŸ›

please please please report all bugs you discover, bestie 😭. you can do it either way:

  1. the mailing list πŸ“§

https://libvirt.org/contact.html

  1. the bug tracker 🐞

https://libvirt.org/bugs.html

alternatively, you may report bugs to your software distributor / vendor β€” they're literally there for that πŸ’œ

Copyright (C) 2011, 2013 Red Hat, Inc.

πŸ’œ LICENSE πŸ’œ

virt-sanlock-cleanup is distributed under the terms of the GNU GPL v2+. this is free software; see the source for copying conditions 🫢

there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE ⚠️ β€” like, none, zero, nada, so don't come for anyone if it goes sideways fr fr

🌟 SEE ALSO 🌟


and that's the whole page, babe πŸŽ€ this was virt-sanlock-cleanup(8) from the Virtualization Support section β€” go forth, clean those leases, and stan a tidy disk βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from