What does "mount path" means when adding additional storage in Storage Configuration

I recently installed Syncthing and I want the app configuration to be stored on a separate dataset as the shared data, so I created the “Syncthing_DB” dataset for the configuration data and “Syncthing_Share” for the data I want to share.

In the storage configuration, I put the Host Path for the “Syncthing_DB” dataset, and then I clicked “Add” in the Additional Storage to add the “Syncthing_Share.” To my surprise, in addition to the Host Path, there is a “Mount Path.” Can somebody please explain to me what it is ? I just use the same path as the Host Path for “Syncthing_Share” and it seems to work but I still don’t understand what the “Mount Path” means.

I am on TrueNAS Community Edition 25.04.1. I am new to TrueNAS and I have a very basic understanding of Linux shell commands.

Mount path is the path at which the host path will appear inside the container.

Does that mean that is the path that an app “sees” within the container? Does it matter what path I give it? Can I just make it a root / path?

Will the mount path conflicts with other apps?

Yes - exactly that. The container has its own virtualised file system.

You should definitely not mount the dataset at the virtual / though, because that will make the rest of the already existing virtual file system inaccessible.

So if it were me I would mount the shared dataset as /Syncthing_Share and you then use this path when you use the syncthing admin screens.

And to answer the other points:

  1. Each container has its own virtualised file system - so no issue with conflicts with other containers or the real file system.

  2. You shouldn’t need to use Linux shell commands for setting up syncthing.

1 Like

Thank you! That is very helpful!

1 Like