Bug 1440228 - NFS Sub-directory mount not working on solaris10 client
Summary: NFS Sub-directory mount not working on solaris10 client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: 3.8
Hardware: x86_64
OS: Solaris
high
high
Target Milestone: ---
Assignee: Bipin Kunal
QA Contact:
URL:
Whiteboard:
Depends On: 1426667
Blocks: glusterfs-3.8.12
TreeView+ depends on / blocked
 
Reported: 2017-04-07 15:34 UTC by Bipin Kunal
Modified: 2017-05-29 04:58 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.8.12
Clone Of: 1426667
: 1440278 (view as bug list)
Environment:
Last Closed: 2017-05-29 04:58:58 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Worker Ant 2017-04-10 06:40:07 UTC
REVIEW: https://review.gluster.org/17017 (nfs: make subdir mounting work for Solaris 10 clients) posted (#1) for review on release-3.8 by bipin kunal (bkunal)

Comment 2 Worker Ant 2017-04-10 06:41:01 UTC
REVIEW: https://review.gluster.org/17017 (nfs: make subdir mounting work for Solaris 10 clients) posted (#2) for review on release-3.8 by bipin kunal (bkunal)

Comment 3 Worker Ant 2017-04-29 11:20:32 UTC
COMMIT: https://review.gluster.org/17017 committed in release-3.8 by Niels de Vos (ndevos) 
------
commit 767047377acee40f40237d2aca45cd94391cba37
Author: Bipin Kunal <bkunal>
Date:   Mon Feb 27 15:23:04 2017 +0530

    nfs: make subdir mounting work for Solaris 10 clients
    
    This fixes the segfault caused by solaris client in Gluster/NFS.
    Volname was not being parsed properly, Instead of volume
    name complete path was being used in nfs_mntpath_to_xlator().
    Fixed it by striping volume name from complete path  in nfs_mntpath_to_xlator().
    
    Modified function name nfs3_funge_solaris_zerolen_fh() to
    nfs3_funge_webnfs_zerolen_fh() as zero-filled filehandle is specific to WebNFS.
    RFC : https://tools.ietf.org/html/rfc2055
    Solaris uses WebNFS, the zero-filled FH is defined in the WebNFS spec.
    
    Logic was even added in fuction nfs3_funge_webnfs_zerolen_fh() to send
    subdir path in function glfs_resolve_at() instead of complete path for
    subdir mount.
    
    > Change-Id: I19aae3547b8910e7ed4974ee5385424cab3e834a
    > BUG: 1426667
    > Signed-off-by: Bipin Kunal <bkunal>
    > Reviewed-on: https://review.gluster.org/16770
    > Reviewed-by: Niels de Vos <ndevos>
    > Smoke: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > (cherry picked from commit 40e571339b3c19ab2a5b6a93bc46eadf2252d006)
    
    Change-Id: I21ebb1d104b6eb914af5f26a6906f161c132179c
    BUG: 1440228
    Signed-off-by: Bipin Kunal <bkunal>
    Reviewed-on: https://review.gluster.org/17017
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>

Comment 4 Niels de Vos 2017-05-29 04:58:58 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.12, please open a new bug report.

glusterfs-3.8.12 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2017-May/000072.html
[2] https://www.gluster.org/pipermail/gluster-users/


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