System and method of file locking in a network file system federated namespace
AssigneeEMC Corporation
InventorsFENGCHENG LU, Kang Wei, Uresh Vahalia, Jean-Pierre B. Bono
Life of this patent
Estimating the term…
Abstract
A method, system and apparatus of a file locking within a network file system federated namespace is disclosed. In one embodiment, a method includes accessing a target file in a storage medium over a network through an intermediate proxy server using a processor. The storage medium may be any one storage medium of a group of storage mediums on the network forming a data sharing cluster. In addition, the method includes locking the target file in the storage medium through a lock protocol to enable an access to modify the target file to at most one user at any given time, via the intermediate proxy server.
Claims27
A method, comprising:
- accessing a target file in a storage medium over a network through an intermediate proxy server using a processor, wherein the storage medium is any one storage medium of a group of storage mediums on the network forming a data sharing cluster;
- and
- locking the target file in the storage medium through a lock protocol using the processor to provide an access to modify the target file to at most one user at any given time, via the intermediate proxy server.
A method of an intermediate proxy server, comprising:
- forwarding at least one of a lock protocol message and a status notify message from a client device to a storage medium using a processor, and from the storage medium to the client device using the processor;
- storing a forwarding context in the intermediate proxy server;
- and
- maintaining an intermediate proxy server status monitor file to improve a robustness of a locking operation of a target file through a crash recovery handling operation.
A system, comprising:
- a client device;
- a plurality of storage mediums forming a data sharing cluster, a storage medium of the plurality of storage mediums to comprise a target file;
- and
- an intermediate proxy server coupled between the client device and the storage medium over a network through a transmission medium;
- the intermediate proxy server being configured to:
- forward at least one of a lock protocol message and a status notify message from the client device to the storage medium, and from the storage medium to the client device,
- create a forwarding context comprising at least one of a client device address, client device port number to identify the client device to which the lock protocol message from the storage medium is addressed,
- append a lock identifier and the forwarding context to the lock protocol message when forwarding the lock protocol message from the client device to the storage medium, wherein the lock identifier to identify a pair of the client device and the intermediate proxy server through which the lock protocol message from the client device is forwarded to the storage medium,
- store the forwarding context in the intermediate proxy server, and
- maintain a link identifier to improve a robustness of a locking operation of the target file through a crash recovery handling operation.
Dependencies are inferred from the claim text.