Hi everyone,
I'm doing my first experience in ESXi configuration from scratch and I'm trying to configure a NFS datastore on my ESXi.
I'm exporting the share from a RHEL9 server (firewalld disabled):
in /etc/exports, /mnt/datastore01/datastore01 192.168.0.201/24 (rw,sync,no_subtree_check,no_root_squash)
I've setted the share with chmod 1777 and chown nobody:nobody
on the ESXi, I've successufully added the datastore: 2023-08-05T18:53:48.839Z In(182) vmkernel: cpu2:263967 opID=d04b2b00)NFS41: NFS41FSAPDNotify:6184: Restored connection to the server 192.168.0.200 mount point Datastore01, mounted as 6ba94681-8cbb59df-0000-000000000000 ("/mnt/datastore01/datastore01")
when I try to create a directory on the datastore from ESXi (or create a new VM aswell) I see the following error in the vmkernel log:
2023-08-05T18:56:07.113Z Wa(180) vmkwarning: cpu5:263958 opID=1eda8e5a)WARNING: NFS41: NFS41FileDoCreateDir:3983: Failed to process the create directory task: Read only
2023-08-05T18:56:07.113Z Wa(180) vmkwarning: cpu5:263958 opID=1eda8e5a)WARNING: NFS41: NFS41FileOpCreateFile:4267: Failed to create file "test" of type 2: Read only
What am I doing wrong? Am I missing a configuration on the ESXi that prevent it from writing on the datastore or I have to change the export option on the RHEL repository?
Thank you in advance for your help!