Hi,

I am testing CEPH over RDMA, for one of the tests I had to export ceph 
filesystem as NFS share on RDMA transport.
For TCP transport, I used ganesha as NFS server that runs in user space and 
supports the cephFS FSAL using libcephfs, and it worked perfectly fine. 
However, my requirement was to export cephFS as NFS share on RDMA transport 
instead of TCP.

So, I tried with RDMA transport, below here is how ganesha.conf would look 
like...

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

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

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

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

        Squash = No_Root_Squash;
        SecType = "none";
        Protocols = "3","4";
        #Transports = "TCP";
        Transports = "RDMA","TCP";

        # Exporting FSAL
        FSAL {
         Name = CEPH;
        }
}

However, showmount would fail with below error.
[root@hadoop1 ~]# showmount -e hadoop1
clnt_create: RPC: Program not registered

[root@hadoop1 ~]# cat /var/log/ganesha.log
14/08/2017 10:23:36 : epoch 5991dc98 : hadoop1.asicdesigners.com : 
ganesha.nfsd-24486[main] main :MAIN :EVENT :ganesha.nfsd Starting: Ganesha 
Version V2.5.1-0-g8ee78b2, built at Jul 27 2017 18:01:27 on 
hadoop1.asicdesigners.com
14/08/2017 10:23:36 : epoch 5991dc98 : hadoop1.asicdesigners.com : 
ganesha.nfsd-24487[main] nfs_set_param_from_conf :NFS STARTUP :EVENT 
:Configuration file successfully parsed
14/08/2017 10:23:36 : epoch 5991dc98 : hadoop1.asicdesigners.com : 
ganesha.nfsd-24487[main] init_server_pkgs :NFS STARTUP :EVENT :Initializing ID 
Mapper.
14/08/2017 10:23:36 : epoch 5991dc98 : hadoop1.asicdesigners.com : 
ganesha.nfsd-24487[main] init_server_pkgs :NFS STARTUP :EVENT :ID Mapper 
successfully initialized.


So, I was wondering maybe there is something else that needs to be configured 
for RDMA transport? Or Am I missing something? Can someone please provide some 
pointers on this.

Appreciate any help.

Thanks,
Raju

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to