Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Set the Lock Grace Period

Applies To: Windows Server 2008 R2

Setting the lock grace period

To set the lock grace period using the Windows interface
  1. Open Services for Network File System: click Start, point to Administrative Tools, and then click Services for Network File System (NFS).

  2. If necessary, connect to the computer you want to manage.

  3. Right-click Server for NFS, and then click Properties.

  4. Click the Locking tab.

  5. In Waiting Period, type the number of seconds within which Services for NFS clients can reestablish file locks after a network or server service interruption.

  6. To save this setting, click Apply.

Additional references

To set the lock grace period using the command prompt
  1. Open a command prompt with elevated privileges.

    1. Click Start, and then click All Programs.

    2. Point to Accessories, right-click the Command Prompt icon, and then select Run as administrator.

  2. At the command prompt, type:

    nfsadmin server [ Computer Name ] config lockperiod= LockingGracePeriod

     

    Argument Description

    ComputerName

    The name of the computer you want to manage.

    LockingGracePeriod

    The time period (in seconds) within which users can reestablish locks after the server restarts.

    noteNote
    To view the complete syntax for this command, at a command prompt, type: nfsadmin server /?

Additional references

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.