During the install and setup I noticed that Rockstor uses the Host/Management host layout for NFS where the hosts shares have root_squish and only the management host has no_root_squish.
While this is good practice when sharing NFS to workstations and stand alone servers, it causes issues when the NFS share is used as persistent storage for Docker, Docker swarm, or Kubernetes pods.
For example, I have a 20 node docker swarm running. Many containers attempt to validate the directory structure or read the initial config directory as they boot (user root) with the root_squish option and proper permissions on the files it blocks the container from accessing the directories/files. These containers have set UID’s and GID’s for the application, but during the initial startup they do some validation as UID=0.
I worked around this by editing the /etc/exports and adding no_root_squish to the entry in the file then doing an exportfs. Im not confident that it will remain after a reboot or when changes are made to the nfs share via the webui.
In my opinion it should be an option for the share and not something that is forced.