Page 1 of 1

VSAN NFS share and root squash

Posted: Sun Apr 27, 2025 4:21 am
by CombFiltered
Some applications (i.e. Nextcloud in my case, have seen it with others while searching for solutions) require a no_root_squash option set in /etc/exports to work. I believe there may be different ways to do this by instead assigning a user in the exports option instead of setting no_root_squash, but I did not find enough documentation of this with my use case to test it.

I got it to work by manually adding this to the specific NFS share in /etc/exports. However I am concerned that some setting or system update will wipe out this change. Is there a way this change could be made through the VSAN interface somehow?

Re: VSAN NFS share and root squash

Posted: Mon Apr 28, 2025 12:18 pm
by yaroslav (staff)
Thanks for your question.
We are working on the solution (i.e., /etc/exports transfers). The current update procedure does not overwrite /etc/exports.
no_root_squash is imposing security risks (https://www.reddit.com/r/tryhackme/comm ... are_button). I had a word with my colleague and he suggested better not set it up.