20. The method of claim 19 , wherein determining, with a processor, whether to release the lock of the data structure to the second process based on the comparison of the contents of the text file before the second process appended the new line and the contents of the text file after the second process appended the new line to the contents of the text file comprises: releasing, with a processor, the lock of the data structure to the second process in response to determining, with a processor, the contents of the text file after the second process appended the new line to the contents of the text file comprises one more line than the contents of the text file before the second process appended the new line to the contents of the text file.
19. A computer-implemented method for acquiring a lock of a data structure in a network file system (“NFS”) environment, the method comprising: creating, with a processor, a text file in a management library of the data structure, wherein a name of the text file comprises an identifier of the lock, an identifier of a process attempting to acquire the lock, and an identifier of a machine on which the process attempting to acquire the lock is running; storing, with a processor, the identifier of the process attempting to acquire the lock in the contents of the text file; storing, with a processor, the identifier of the machine on which the process attempting to acquire the lock is running in the contents of the text file; creating, with a processor, a hard link that points to the text file; determining, with a processor, a number of links pointing to the text file; locking, with a processor, the data structure based on the number of links pointing to the text file; determining, with a processor, whether a timestamp of the hard link is greater than a predetermined period of time; updating, with a processor, the time stamp of the hard link; reading and storing, with a processor, the contents of the text file; appending, with a processor, a new line to the contents of the text file, the new line comprising an identifier of a second process attempting to reclaim a lock, an identifier of a machine on which the second process is running, and a second timestamp; reading, with a processor, the new contents of the text file; comparing, with a processor, the contents of the text file before the second process appended the new line to the contents of the text file to the contents of the text file after the second process appended the new line to the contents of the text file; and determining, with a processor, whether to release the lock of the data structure to the second process based on the comparison of the contents of the text file before the second process appended the new line and the contents of the text file after the second process appended the new line to the contents of the text file.