VMware Cloud Community
rosewell
Contributor
Contributor

Have trouble in creating esxi nfsv4 datastore with go-fuse

The problem is that:

Firstly,I have written a go-fuse filesystem program by myself,and I mounted on my NFS server on mountpint `/example/a`, and it has a file named `1.txt` in it.

Then I exported it via NFSv4.The /etc/exports file looks like something below(using nfsv4):

    /example *(ro,sync,fsid=0,crossmnt,no_subtree_check)

    /example/a *(ro,sync,nohide,no_subtree_check)

Secondly,I had an esxi host and wanted to create nfsv4 datastore,the name is "nfsv4", and its shared directory is `/`(which means `/example` in my NFS server)

Lastly,I found nothing in my datastore directory,i.e `/vmfs/volumes/nfsv4/a`(no `1.txt`!)

So, I don't know whether the problem is my go-fuse program or configuration of nfs server/client?

Maybe I don't interpret it clearly.If you need any information,please tell me!

Thanks!

My go-fuse program and nfs server run in Linux debian 4.9.0-8-amd64.

My esxi is 6.7.

Tags (1)
0 Kudos
0 Replies