File locking is not working with Rhel 6.x and SFCFSHA 5.1SP1

Problem

File locking is not working on 6.x and FCFSHA 5.1Sp1 for NFS.

Error Message

Oct 29 07:19:26 servername rpc.mountd[62947]: authenticated unmount request from ip-address for /export/data25 (/export/data25)
Oct 29 07:23:40 servername rpc.statd[62958]: Failed to insert: creating /var/lib/nfs/statd/sm/techradl16.rad.com: Permission denied
Oct 29 07:23:40 servername rpc.statd[62958]: STAT_FAIL to servername for SM_MON of ip-address
Oct 29 07:23:40 servername kernel: lockd: cannot monitor techradl16
 

Cause

Both the sm and sm.bak links for rhel6 are owned by root and not rpcuser.  

Solution

Once ownership is changed to 'rpcuser' this works.


Applies To

 # cat etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
# grep vx rpm_aq
VRTSvxvm-5.1.133.000-SP1RP3_RHEL6.x86_64
VRTSvxfs-5.1.133.000-SP1RP3_RHEL6.x86_64
VRTSvxfen-5.1.133.000-SP1RP3_RHEL6.x86_64
 

 

Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)