nfs setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a 3 node gluster setup running with one brick exported,   /gv0

Centos 7

============
[root@glusterp1 ganesha]# rpm -aq |grep gluster
glusterfs-client-xlators-3.8.4-1.el7.x86_64
nfs-ganesha-gluster-2.3.3-1.el7.x86_64
glusterfs-3.8.4-1.el7.x86_64
glusterfs-cli-3.8.4-1.el7.x86_64
glusterfs-api-3.8.4-1.el7.x86_64
glusterfs-server-3.8.4-1.el7.x86_64
glusterfs-fuse-3.8.4-1.el7.x86_64
glusterfs-ganesha-3.8.4-1.el7.x86_64
centos-release-gluster38-1.0-1.el7.centos.noarch
glusterfs-libs-3.8.4-1.el7.x86_64
[root@glusterp1 ganesha]#
============

I am trying to setup NFS but failing,

So on node1 (glusterp1)  after setting up ganesha I get,

==========
[root@glusterp1 ganesha]# service nfs-ganesha restart
Redirecting to /bin/systemctl restart  nfs-ganesha.service
[root@glusterp1 ganesha]# showmount -e localhost
Export list for localhost:
/gv0 (everyone)
==========

However for the client showmount -e fails and does a mount,

==========
root@warlocke:/etc/bind# showmount -e glusterp1.graywitch.co.nz
clnt_create: RPC: Port mapper failure - Timed out
root@warlocke:/etc/bind#
==========

My config is,

==========
[root@glusterp1 ganesha]# pwd
/etc/ganesha
[root@glusterp1 ganesha]# more 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 = 1;

    # Exported path (mandatory)
    Path = /gv0;
    #Path = /nonexistant;

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

    #ssj
    #allow root access
    Squash = No_Root_squash;
        SecType = "sys";
    #ssj finish

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

    # Exporting FSAL
    FSAL {
        Name = GLUSTER;
                hostname = 192.168.1.31;
        volume = "gv0";
    }
}
[root@glusterp1 ganesha]#
========

So what is wrong here please?





























_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux