[Bugs] [Bug 1311911] New: volume not getting exported after setting the option ganesha.enable

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 25 10:13:07 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1311911

            Bug ID: 1311911
           Summary: volume not getting exported after setting the option
                    ganesha.enable
           Product: GlusterFS
           Version: 3.7.8
         Component: ganesha-nfs
          Severity: urgent
          Assignee: bugs at gluster.org
          Reporter: akhakhar at redhat.com
                CC: bugs at gluster.org



Description of problem:
volume not getting exported after setting the option ganesha.enable 

Version-Release number of selected component (if applicable):
glusterfs-ganesha-3.7.8-1.el7.x86_64
nfs-ganesha-2.2.0-12.el6rhs.x86_64
glusterfs-3.7.8-1.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup nfs-ganesha on 4 nodes
2. Create a 2X2 volume.
3. Start the volume
4. set the volume option- ganesha.enable on. it says success, but the volume is
actually not exported

Export file is present
[root at dhcp46-59 ~]# cat /etc/ganesha/exports/export.testvol.conf 
# WARNING : Using Gluster CLI will overwrite manual
# changes made to this file. To avoid it, edit the
# file and run ganesha-ha.sh --refresh-config.
EXPORT{
      Export_Id= 2 ;
      Path = "/testvol";
      FSAL {
           name = GLUSTER;
           hostname="localhost";
          volume="testvol";
           }
      Access_type = RW;
      Disable_ACL = true;
      Squash="No_root_squash";
      Pseudo="/testvol";
      Protocols = "3", "4" ;
      Transports = "UDP","TCP";
      SecType = "sys";
     }


Also ganesha.conf file has entry of this config file:
[root at dhcp46-59 ~]# cat /etc/ganesha/ganesha.conf 
###################################################
#
# EXPORT
#
# To function, all that is required is an EXPORT
#
# Define the absolute minimal export
#

#EXPORT
#{
    # Export Id (mandatory, each EXPORT must have a unique Export_Id)
#    Export_Id = 77;

    # Exported path (mandatory)
#    Path = "/testvol";

    # Pseudo Path (required for NFS v4)
#    Pseudo = "/testvol";

    # Required for access (default is None)
    # Could use CLIENT blocks instead
#    Access_Type = RW;

    # Allow root access
#    Squash = No_Root_Squash;

    # Security flavor supported
#    SecType = "sys";

    # Exporting FSAL
#    FSAL {
#        Name = "GLUSTER";
#        Hostname = localhost;
#        Volume = "testvol";
#    }
#}
#######################################################
#Create this export block in a file which has the following parameters
#in the global part. Or create a separate file with the export block
#and include in the following block.

NFS_Core_Param {
        #Use supplied name other tha IP In NSM operations
        NSM_Use_Caller_Name = true;
        #Copy lock states into "/var/lib/nfs/ganesha" dir
        Clustered = false;
        #Use a non-privileged port for RQuota
        Rquota_Port = 4501;
        MNT_Port = 20048;
        NLM_Port = 32000;
}

%include "/etc/ganesha/exports/export.vol.conf


But showmount does not show that volume is exported

Actual results:showmount does not show that volume is exported


Expected results: on setting ganesha.enable option volume should get exported


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list