With the recent changes to TrueNAS SCALE 22.12 concerning HostPath validation (read our blog or our adding storage pages to learn more) the one way to add media storage is to mount NFS Shares to your TrueCharts applications. This process involves two parts, and this guide will demonstrate each step to create NFS Shares in SCALE and then add them in the Storage section of TrueCharts apps. This won't work with the official catalog applications. As well, one can use NFS shares and SMB shares on the same dataset, but only NFS shares are mounted by TrueCharts applications.

NFS Shares are meant to storing your file/media shares in case they need to be share with other users or computers. This is not meant for the entire application. Our recommended approach and default for most applications is PVC storage (read more here). There is known cases of database corruption with NFS Shares and sqlite so you are warned.

Part 1 - Create NFS Shares in SCALE

In the main SCALE GUI, select the Shares item on the menu bar and you'll read this page.

https://prod-files-secure.s3.us-west-2.amazonaws.com/00ca13a9-3fa4-4fd5-a345-67a1f89ff832/9d0e5f6e-b209-45da-828c-2ebba770b096/Sharesmain-f5d45936fc3e0b534e6b36585b44c976.png

Shares Main

Click on Add inside the UNIX (NFS) Shares section.

https://prod-files-secure.s3.us-west-2.amazonaws.com/00ca13a9-3fa4-4fd5-a345-67a1f89ff832/0e4599d6-d93f-4781-9300-d7db966b440e/AddNFSShare-46a93c2e2f4c12d4e1dfcd9672931835.png

Add NFS Share

Part 2 - Add NFS Shares to Applications

Next you're going to add NFS Storage to your applications. This can be in the media or downloads storage for certain apps or Additional App Storage for others (such as the example below). We do no recommend installing the entire app to NFS Shares as that can corrupt any databases inside the app. This is meant for media or file storage only.

https://prod-files-secure.s3.us-west-2.amazonaws.com/00ca13a9-3fa4-4fd5-a345-67a1f89ff832/b5afd5e4-a2e0-41f6-818f-d7cc098ab3d5/BlankAddAppStorage-b4f88e22e7edfaed557a0973581686b8.png

Additional Storage Add

https://prod-files-secure.s3.us-west-2.amazonaws.com/00ca13a9-3fa4-4fd5-a345-67a1f89ff832/3426c30a-91b9-4162-b9e1-6e38e06fc0e4/NFSAddAppStorageBlank-7c1d2a79913203aacf4785c4af31ba90.png

NFS Add Storage Blank