Sets the type of database locking used by VSS. Available in the SRCSAFE.INI file only.
Lock_Mode = {Native|Lockfile}
Indicates that native locking is used by VSS to avoid database record collisions:
Lock_Mode = Native
Native locking uses the operating system's inherent file and record locking capabilities (through the fcntl system call). This system is very fast, but may not be supported if you are running VSS across multiple UNIX machines.
Lockfiles are a VSS-specific mechanism, involving creation of special files in the VSS Data\Locks folder, which achieve the same database record locking as the Native setting. This method is slower than native locking, but works in networked and cross-platform situations.
It is important to choose the right locking mechanism for your system. If you are running VSS exclusively on Microsoft Windows NT machines, use native locking (the default). If you are running VSS in an environment where byte locks to the database are not supported, use Lockfile. This prevents collisions that might cause unpredictable results in the VSS database. If you are not sure if your network supports native locking, use the Testlock.exe program.
Note If VSS does not exit normally, in some circumstances the UM.LCK file may be left in the Data\Locks directory. Delete this file manually to avoid Testlock errors or unpredictable behavior with the Lock_Mode variable.