Skip to main content
NetApp Knowledgebase

What are the effects of file locking?

Views:
168
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
core
Last Updated:

 

Applies to

Data ONTAP 7 and earlier

Answer

What are the effects of file locking?

The effects of file locking:

  • Locks set by Network File System (NFS) clients are not enforced
  • Locks set by Common Internet File System protocol (CIFS) clients are enforced

NFS clients: A client may gain access to a locked file, or to part of a locked file, depending on whether the client checks for and observes the lock.
CIFS clients: The locks affect clients, whether or not the clients check for the locks. If a lock exists, the client is denied the type of access according to the lock.

Note: There is one exception to the enforcement of locks set by CIFS clients on the filer. When the filer runs the dump command, it ignores the file lock set by a CIFS client that prevents read access to parts of a file or the entire file. Ignoring the read file lock allows the filer to back up all files.

Additional Information

Add your text here.