virt-sanlock-cleanup - Man Page

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.

Exit Status

Upon successful processing of leases cleanup, an exit status of 0 will be set. Upon fatal error a non-zero status will be set.


Daniel P. Berrangé


Please report all bugs you discover.  This should be done via either:

  1. the mailing list

  2. the bug tracker

Alternatively, you may report bugs to your software distributor / vendor.


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

See Also

virsh(1), online instructions,


Virtualization Support