NFS clients fails to mount the nfs share exported using wildcard character in /etc/cluster.conf

Solution Verified - Updated -

Issue

  • When the NFS share is exported using a wildcard, NFS server refuses the connection from clients. Below is the entry for nfsclient resource in /etc/cluster.conf file:
<nfsclient allow_recover="1" name="res_NFSclient" options="rw" target="Host*-nfs.net"/>
  • With above entry in cluster.conf, NFS clients fails to mount the share and following error is observed in logs:
Aug 26 01:11:28 nfsserver1 mountd[6102]: refused mount request from 192.168.0.20 for /mnt/share (/mnt/share): unmatched host
  • When above entry is modified as shown below, it works without any issues:
<nfsclient allow_recover="1" name="res_NFSclient" options="rw" target="Host1-nfs.net"/>

Environment

  • Red Hat Enterprise Linux 5.8
  • Cluster Suite
  • 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