Re: Cephfs - NFS Ganesha

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

 



Hello Amudhan,

The only ceph specific thing required in the ganesha config is to add the
FSAL block to your export, everything else is standard ganesha config as
far as I know. eg: this would export the root dir of your cephfs as
nfs-server:/cephfs
EXPORT
{
        Export_ID = 100;
        Path = /;
        Pseudo = /cephfs;
        FSAL {
                Name = CEPH;
                User_Id = cephfs_cephx_user;
        }
        CLIENT {
                Clients =  1.2.3.4;
                Access_type = RW;
        }
}

This will rely on ceph config in /etc/ceph/ceph.conf containing typical
cluster client connection info (cluster id, mon addresses etc).
You also have to have the cephx user specified configured for cephfs
access, including the keyring file in
/etc/ceph/ceph.client.cephfs_cephx_user.keyring.

Your cephx user could be the same one you use to mount the FS using kernel
client, but you will need the keyring file in place, and the ceph.conf.

Not sure how many changes have been made to config since ganesha 2.6, but
the 2.6 version of the sample is here:
https://github.com/nfs-ganesha/nfs-ganesha/blob/V2.6-stable/src/config_samples/ceph.conf

You should be able to see if there were any issues loading configuration
params or the ceph fsal in the ganesha log, typically /var/log/ganesha.log
or /var/log/ganesha/ganesha.log.

On Fri, 15 May 2020 at 17:12, Amudhan P <amudhan83@xxxxxxxxx> wrote:

> Hi,
>
> I am trying to setup NFS ganesh in Ceph Nautilus.
>
> In a ubuntu 18.04 system i have installed nfs-ganesha (v2.6) and
> nfs-ganesha-ceph pkg and followed the steps in the link
> https://docs.ceph.com/docs/nautilus/cephfs/nfs/  but i am not able to
> export my cephfs volume there is no error msg in nfs-ganesha, also i doubt
> whether its loading nfs-ganesha-ceph config file from "/etc/ganesha"
> folder.
>
> From same system i am able to mount thru ceph kernel client without any
> issue?
>
> How do i make this work?
>
> regards
> Amudhan
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
*Rafael Lopez*
Devops Systems Engineer
Monash University eResearch Centre
E: rafael.lopez@xxxxxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux