Hi,
I am currently playing around to set up a Nextcloud server on an Ubuntu Server machine and failed hard to mount the NFS share for some reason. (want to outsource the www/nextcloud/data folder to my ZFS)
For
Always getting
I can mount /storage alone and list backup_appliance and nfs folders as well as filebench.log there, but cannot access e.g. nfs and also cannot create new folders there (no permission).
showmount -e 10.0.0.100 on the Ubuntu server shows me:
(.31 is the Ubuntu server, .100 is the ESXi, .101 is OmniOS - all in the same /24 subnet)
napp-it /storage and /storage/nfs sharenfs properties both show me
Ubuntu user ID has same name "cloud" and userid 115 as on the napp-it appliance, on napp-it also in group "user" which should have correct rights to access the nfs folder?
/storage has:
/storage/nfs has:
I can only think of that for some reason the ubuntu user ("cloud" / uid 115) is not correctly matched with the napp-it user ("cloud" / uid 115) but another user (anonymous?) is used. Although I do not want to give everyone rights to read my nfs share and I also don't know if I want to give my ubuntu server IP (everyone could fake it) root rights to my nfs ...
---
Now, tl;dr - I am not even sure if NFS(3) is even a good tool to let my Ubuntu connect to my NFS share as security is only based on IP and/or UID? I am not even sure how I can prevent someone faking ESXi server IP and getting root rights ...
I am currently playing around to set up a Nextcloud server on an Ubuntu Server machine and failed hard to mount the NFS share for some reason. (want to outsource the www/nextcloud/data folder to my ZFS)
For
Code:
sudo mount -t nfs 10.0.0.101:/storage/nfs /mnt/cloud -vvvv
Code:
mount(2): Permission denied
access denied by server while mounting 10.0.0.101:/storage/nfs
showmount -e 10.0.0.100 on the Ubuntu server shows me:
Code:
/storage @10.0.0.100/24,@10.0.0.31/24
/storage/nfs @10.0.0.100/24,@10.0.0.31/24
napp-it /storage and /storage/nfs sharenfs properties both show me
Code:
sec=sys,rw=@10.0.0.100/24,rw=@10.0.0.31/24,root=@10.0.0.100/24
/storage has:
Code:
user:root > full_set
everyone > readx_set
owner > full_set
Code:
user:root > full_set
user:myadmin > modify_set
group:user > readxs_set
---
Now, tl;dr - I am not even sure if NFS(3) is even a good tool to let my Ubuntu connect to my NFS share as security is only based on IP and/or UID? I am not even sure how I can prevent someone faking ESXi server IP and getting root rights ...