Bug 799287 - Support for Solaris NLM client
Summary: Support for Solaris NLM client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterfs
Version: 1.0
Hardware: All
OS: Linux
high
medium
Target Milestone: Release Candidate
: ---
Assignee: Ric Wheeler
QA Contact: Sachidananda Urs
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-02 11:46 UTC by Krishna Srinivas
Modified: 2015-08-10 07:44 UTC (History)
4 users (show)

Fixed In Version: release-3.3, upstream
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-10 07:44:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Krishna Srinivas 2012-03-02 11:46:44 UTC
Description of problem:
Solaris client is not able to use glusterfs NLM for locking

Solaris nfs client is mount like this:
mount -o proto=tcp,vers=3 nfs://HOSTNAME-OR-IPADDRESS:38467/VOLNAME MOUNTDIR

Because of this the NFS client does not do a portmap query of glusterfs NLM server and does not use its locking facility.

Looking at the wireshark dump of solaris nfs client mount from linux kernel nfs server, this is what it does:
1) query portmapper for UDP mountd
2) call MNT procedure on mountd to get root filehandle
3) when fcntl-lock is done, query portmap for TCP NLMv4
4) call NLM lock/unlock operations

But in case of glusterfs-nfs, solaris nfs client never does a portmap query for NLM server.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Krishna Srinivas 2012-03-06 09:09:05 UTC
To fix this we need to implement mountd on UDP so that solaris nfs client queries portmapper for NLM after query for MOUNT on UDP is successful.

Comment 3 Sachidananda Urs 2012-06-07 10:34:54 UTC
Verified this, this feature is implemented. sub-directory mount does not work but there is a separate bug for it.


Note You need to log in before you can comment on or make changes to this bug.