Re: How to make nfs v3 work? nfs-ganesha for cephfs

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

 



NFS3 does not use pseudo paths usually. You can enable
the Mount_Path_Pseudo option in NFS_CORE_PARAM to
enable usage of pseudo fsal for NFS3 clients. (Note that
the NFS3 clients cannot mount the pseudo root itself, but
only subdirectories due to limitations in the inode size)


Paul

2018-06-26 18:13 GMT+02:00 Youzhong Yang <youzhong@xxxxxxxxx>:
NFS v4 works like a charm, no issue for Linux clients, but when trying to mount on MAC OS X client, it doesn't work - likely due to 'mountd' not registered in rpc by ganesha when it comes to v4.

So I tried to set up v3, no luck:

# mount -t nfs -o rw,noatime,vers=3 ceph-dev:/ceph /mnt/ceph
mount.nfs: access denied by server while mounting ceph-dev:/ceph

/var/log/ganesha/ganesha.log says:

mnt_Mnt :NFS3 :INFO :MOUNT: Export entry / does not support NFS v3 for client ::ffff:172.21.24.38

My /etc/ganesha/ganesha.conf looks like this:

EXPORT
{
        Export_ID=100;
        Protocols = 3;
        Transports = TCP;
        Path = /ceph;
        Tag = ceph;
        Pseudo = /ceph;
        Access_Type = RW;
        Squash = None;
        FSAL {
                Name = CEPH;
        }
}

Any way to make it work? Thanks in advance.

--Youzhong



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




--
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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