Bug 1237165

Summary: Incorrect state created in '/var/lib/nfs/statd'
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Soumya Koduri <skoduri>
Component: nfs-ganeshaAssignee: Soumya Koduri <skoduri>
Status: CLOSED ERRATA QA Contact: Saurabh <saujain>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.1CC: asrivast, kkeithle, mmadhusu, mzywusko, ndevos, nlevinki, rcyriac, saujain, skoduri
Target Milestone: ---   
Target Release: RHGS 3.1.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.7.1-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1237174 1238057 (view as bug list) Environment:
Last Closed: 2015-07-29 05:08:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1237174    
Bug Blocks: 1202842, 1238057    

Description Soumya Koduri 2015-06-30 13:52:27 UTC
Description of problem:

NLM/NSM makes use of '/var/lib/nfs/statd' directory to store the lock related information, which will be used during lock reclaim.
In particular,
'/var/lib/nfs/statd/state' stores the NSM state number for any host using which client would detect server reboots.

But currently '/var/lib/nfs/statd/state' is created as directory instead of file due to a small bug. 

Without this fix, it will result in failures during lock reclaim and rpc.statd service restart.

Comment 4 Saurabh 2015-07-07 12:32:32 UTC
As can be seen that this is no more a directory,
[root@nfs14 ~]# ls -l /var/lib/nfs
lrwxrwxrwx. 1 root root 53 Jul  7 21:18 /var/lib/nfs -> /var/run/gluster/shared_storage/nfs-ganesha/nfs14/nfs
[root@nfs14 ~]# ls -l /var/lib/nfs/statd/state 


Hence moving this to VERIFIED.

Comment 5 errata-xmlrpc 2015-07-29 05:08:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html