TrueNAS SCALE 22.12: hostPath Validation
We are excited to finally be able to work with TrueNAS SCALE version 22.12 âBlueFin,â however this version includes a new feature called âhostPath validation.â This feature is designed to ensure the stability and security of TrueNAS SCALE systems by preventing the use of any datasets for apps where that dataset is also used for shares.
This safety check makes sure apps and sharing services (SMB, NFS, etc) do not use the same data. This is done to avoid permissions issues, as there are a lot of apps that change permissions without giving the user a warning, or just plain do not work with ACLâs.
While this feature is an important security measure, it can also be a source of frustration for some users who may be using datasets for both apps and shares. If you are encountering issues with âhostPath validationâ, such as Apps being âstuck on deployingâ after update, there are three potential solutions you can consider:
-
Disable âhostPath validation.â If you disable âhostPath validation,â TrueCharts will not provide support on things that involve storage. If you disable âhostPath validationâ and have an issue with the app, your configuration screenshots must not have any hostPath storage defined.
-
Keeping âhostPath validationâ enabled and disable shares on any datasets that are also used with apps. TrueCharts will continue to provide support for things that involve storage.
-
Keeping âhostPath validationâ enabled and keep shares enabled on any datasets that are also used with apps. Instead of hostPath, you can mount the dataset using the NFS option on all TrueCharts apps.
The Option to disable âhostPath validationâ can be found in Apps -> Settings -> Advanced Settings -> Enable Host Path Safety Checks
We hope these suggestions are helpful in resolving any issues you may be experiencing with âhostPath validationâ on TrueNAS SCALE version 22.12 âBlueFinâ.