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:
- the mailing list π§
https://libvirt.org/contact.html
- the bug tracker π
alternatively, you may report bugs to your software distributor / vendor β they're literally there for that π
π COPYRIGHT π
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 π
virsh(1)- online instructions
- https://libvirt.org/
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
- centos-stream 10: libvirt-daemon-plugin-sanlock 12.8.0-1.el10 Β· GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OFL-1.1
- debian bookworm: libvirt-sanlock 9.0.0-4+deb12u2 Β· LGPL-2.1-or-later
- ubuntu jammy: libvirt-sanlock 8.0.0-1ubuntu7 Β· LGPL-2.1-or-later
- ubuntu jammy: libvirt-sanlock 8.0.0-1ubuntu7.21 Β· LGPL-2.1-or-later
- ubuntu noble: libvirt-sanlock 10.0.0-2ubuntu8
- ubuntu noble: libvirt-sanlock 10.0.0-2ubuntu8.19
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms