Bug 832939 - [glusterfs 3.3.0qa38] nfs mount problem with default parametres, always necessary to specify "-o vers=3"
Summary: [glusterfs 3.3.0qa38] nfs mount problem with default parametres, always neces...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vivek Agarwal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-18 08:47 UTC by Vladimir
Modified: 2016-02-18 00:02 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 956084 (view as bug list)
Environment:
Last Closed: 2013-07-24 18:00:04 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Vladimir 2012-06-18 08:47:01 UTC
Description of problem:

When we trying to mount like:

----

const char* parametres[] =
{ "nolock,tcp,soft", "nolock,tcp,soft,vers=3", "nolock,soft,vers=3" };


---- then for(...), mount with difficult options for mount

By default, nfs use vers=4, and with standart nfs works fine, but with glusterfs-nfs need wait some minutes (mount -t nfs //node:/vol-glusterfs hangs on ~1 min). This problem can be solved? For example, to mount successfully glasterfs-nfs on any RHEL machine's without manual intervention or without this "delay"-"hangs"?

It looks some strange that i can't use RHS + RHEL products (nfs client + glusterfs share) with defaults parametres :(

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


How reproducible:


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


Expected results:


Additional info:

RHEL 6 (Santiago)
RHS - RHS-2.0-20120503.1-RHS-x86_64-DVD1.iso

Comment 1 Anand Avati 2013-04-16 11:54:50 UTC
REVIEW: http://review.gluster.org/4840 (nfs: change default nfs port tp 2049) posted (#1) for review on master by Rajesh Amaravathi (rajesh)

Comment 2 Anand Avati 2013-04-18 06:07:23 UTC
REVIEW: http://review.gluster.org/4840 (nfs: change default nfs port to 2049) posted (#2) for review on master by Rajesh Amaravathi (rajesh)

Comment 3 Anand Avati 2013-04-24 09:06:30 UTC
COMMIT: http://review.gluster.org/4840 committed in master by Anand Avati (avati) 
------
commit 054c1d7eb3782c35fc0f0ea3a5fd25337d080294
Author: Rajesh Amaravathi <rajesh>
Date:   Tue Apr 16 17:22:41 2013 +0530

    nfs: change default nfs port to 2049
    
    This change makes it possible to mount glusterfs volumes
    without specifying vers=3 option.
    
    Change-Id: If5a974e2bdfd2adbeac3d82af774310cdf30f988
    BUG: 832939
    Signed-off-by: Rajesh Amaravathi <rajesh>
    Reviewed-on: http://review.gluster.org/4840
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 4 Anand Avati 2013-05-23 18:32:14 UTC
REVIEW: http://review.gluster.org/5078 (nfs: change default nfs port to 2049) posted (#1) for review on release-3.4 by Vijay Bellur (vbellur)

Comment 5 Anand Avati 2013-05-23 19:14:25 UTC
COMMIT: http://review.gluster.org/5078 committed in release-3.4 by Anand Avati (avati) 
------
commit 3bee716c7a740c3cb6adececcea84bac0ba8abaa
Author: Rajesh Amaravathi <rajesh>
Date:   Tue Apr 16 17:22:41 2013 +0530

    nfs: change default nfs port to 2049
    
    This change makes it possible to mount glusterfs volumes
    without specifying vers=3 option.
    
    Change-Id: If5a974e2bdfd2adbeac3d82af774310cdf30f988
    BUG: 832939
    Signed-off-by: Rajesh Amaravathi <rajesh>
    Reviewed-on: http://review.gluster.org/4840
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/5078
    Reviewed-by: Anand Avati <avati>


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