> usr PVE::Storage::volume_protect and volume_unprotect instead > volume_lock && volume_unlock Why do you use two different subroutines? A simple Boolean parameter would also work: volume_protect(bool value);