Ok, I got a bit further. I can now mount the NFS export on my ESXi server and use it as a datastore. I added the ESXi host with RW and no_root_squash permissions in the Ceph Dashboard. After re-mounting it on the ESXi datastore it works fine. Any idea about the ingress? Regards, Oliver Am 15.06.2021 um 12:01 schrieb Oliver Weinmann:
Dear All,
I have deployed the latest CEPH Pacific release in my lab and started to check out the new ?stable? NFS Ganesha features. First of all I'm a bit confused which method to actually use to deploy the NFS cluster:
cephadm or ceph nfs cluster create?
I used "nfs cluster create" for now and noticed a minor problem in the docs.
https://docs.ceph.com/en/latest/cephfs/fs-nfs-exports/#cephfs-nfs
The command is stated as:
$ ceph nfs cluster create <clusterid> [<placement>] [--ingress --virtual-ip <ip>]
while as it needs a type (cephfs) to be specified
nfs cluster create <type> <clusterid> [<placement>] : Create an NFS Cluster
Also I can't manage to use the --ingress --virtual-ip parameter. Every time I try to use it I get this:
[root@cephboot~]# ceph nfs cluster create cephfs ec9e031a-cd10-11eb-a3c3-005056b7db1f --ingress --virtual-ip 192.168.9.199 Invalid command: Unexpected argument '--ingress' nfs cluster create <type> <clusterid> [<placement>] : Create an NFS Cluster Error EINVAL: invalid command
So i just deployed a NFS cluster without a VIP. Maybe I'm missing something?
What about this note in the docs:
From Pacific, the nfs mgr module must be enabled prior to use. <<
I can't find any info on how to enable it. Maybe this is already the case?
ceph nfs cluster create cephfs ec9e031a-cd10-11eb-a3c3-005056b7db1f "cephnode01" This seems to be working fine. I managed to connect a CentOS 7 VM and I can access the NFS export just fine. Great stuff.
For testing I tried to attach the same NFS export to a standalone ESXi 6.5 Server. This also works, but its diskspace is shown as 0 bytes:
I'm not sure if this supported or I'm missing something. I could not find any clear info in the docs only some reddit posts where users mentioned that they were able to use it with VMware.
Thanks and Best Regards,
Oliver _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io