350-601 · Question #274
Which storage protocol reduces file locks by using leasing?
The correct answer is B. NFS 4. NFSv4 introduced a lease-based locking model to address a fundamental weakness in NFSv3. In NFSv3, file locks are stateful and held indefinitely - if a client crashes, the server retains the lock until manually cleared, causing prolonged contention. NFSv4 replaces this with…
Question
Which storage protocol reduces file locks by using leasing?
Options
- ACIFS
- BNFS 4
- CNFS 3
- DSMB
How the community answered
(23 responses)- A4% (1)
- B91% (21)
- D4% (1)
Explanation
NFSv4 introduced a lease-based locking model to address a fundamental weakness in NFSv3. In NFSv3, file locks are stateful and held indefinitely - if a client crashes, the server retains the lock until manually cleared, causing prolonged contention. NFSv4 replaces this with leases: each lock is tied to a time-bound lease that the client must periodically renew. If the client fails to renew, the server automatically reclaims the lock after the lease expires, dramatically reducing persistent lock buildup. CIFS and SMB use opportunistic locks (oplocks), not leasing in this same sense. NFSv3 has no lease mechanism at all.
Topics
Community Discussion
No community discussion yet for this question.