virt-sanlock-cleanup man page
virt-sanlock-cleanup — remove stale sanlock resource lease files
This tool removes any resource lease files created by the sanlock lock manager plugin. The resource lease files only need to exist on disks when a guest using the resource is active. This script reclaims the disk space used by resources which are not currently active.
Upon successful processing of leases cleanup, an exit status of 0 will be set. Upon fatal error a non-zero status will be set.
Report any bugs discovered to the libvirt community via the mailing list <https://libvirt.org/contact.html> or bug tracker <https://libvirt.org/bugs.html>. Alternatively report bugs to your software distributor / vendor.
Copyright (C) 2011, 2013 Red Hat, Inc.
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
virsh(1), online instructions <https://libvirt.org/locking.html>