Do I need to set wait_for_leastime_on_stop for my exportfs resources in Red Hat Enterprise Linux withPacemaker High Availability or Resilient Storage Cluster?

Solution Unverified - Updated -

Issue

In reviewing the parameters specified for the exportfs resource when configuring a Highly Available NFS service in my Pacemaker cluster, there is a specification for wait_for_leasetime_on_stop option that specifies it may be required for NFSv4. Should this be enabled and, if so, how is it configured?

wait_for_leasetime_on_stop: When stopping (unexporting), wait out the NFSv4 lease time. Only after all leases have expired does the NFS kernel server relinquish all server-side handles on the exported filesystem. If this exportfs resource manages an export that resides on a mount point designed to fail over along with the NFS export itself, then enabling this parameter will ensure such failover is working properly. Note that when this parameter is set, your stop timeout MUST accommodate for the wait period. This parameter is safe to disable if none of your NFS clients are using NFS version 4 or later.

Environment

  • Red Hat Enterprise Linux 7 With High Availability or Resilient Storage
  • Pacemaker
  • Active/Passive NFS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content