VSAN NFS share and root squash

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
CombFiltered
Posts: 25
Joined: Tue Sep 17, 2024 2:11 pm

Sun Apr 27, 2025 4:21 am

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?
yaroslav (staff)
Staff
Posts: 3424
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 28, 2025 12:18 pm

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.
Post Reply