How do I mount a directory as RO when the source is in ix-applications?

hello All

the TN app “Frigate” has some default storage entries in the config which I am wary of fiddling with. Please see the attached screenshot: inside the directory “ix-applications” there is, eventually, a subdir called frigate, inside which are a couple of other levels terminating in “snapshots” and “clips” directories quite a few levels down.

These two directories store video clips and jpeg snapshots of images from CCTV cameras. I would like to mount them read only so that I can easily get at the contents when I wish to copy something to other locations (for backing up or experimenting).

My desktop machine and others on the LAN currently have mount points for a number of directories in my main “mainraid” TrueNAS tank (I have created NFS mounts of “documents”, “photographs”, etc. in the various network machines’ etc/fstab).

I think I should be able to press that “additional storage” button in the app and make it a host path to source from, and create a mount point destination in my “mainraid” tank, but when I try it the ix-applications directory isn’t listed. I don’t use Windows so I don’t want to try the SMB approach unless that’s the only solution.

I have got rather muddled trying to sort out other matters and I am fearful of making a mistake. Please can someone spell out for a simpleton what the best approach ought to be please?

Thanks!

EB

Have you tried using the ‘tool tips’ on that page? Circle with question mark inside? What options do you have?

Hello

I did look at them but it wasn’t obvious to me what to do. For example

Help: ixVolume Configuration says
“The configuration for the ixVolume dataset”

Help: Frigate Config Storage says
“The path to store Frigate Configuration”.

Help: ixVolume Configuration says
“The configuration for the ixVolume dataset”

which is all fair enough and standard such that I oughtn’t to run into config problems (my other apps are the same or at least very similar).

I think I need to add some additional storage, but inside “add” additional storage, the help tool tips says

Mount Path: The path inside the container to mount the storage.
Dataset Name: The name of the dataset to use for storage.

I could make the mount path say (something like)
mnt/mainraid/frigate/videos
mnt/mainraid/frigate/photos

but I don’t then know how to make the ixVolume path appear so that I can mount the contents as required but RO.

It is very possible even likely, that I have missed something very obvious and second nature to everyone!

EB

I’m not familiar with the apps and I am hoping someone else will help.

Lawrence Systems does some pretty decent videos, for example https://www.youtube.com/watch?v=vXGs221il3g

but he knows what he’s doing, whereas in my case …

I will concentrate on some other matters for now and I’ll revisit this if I get anywhere! Thanks for chipping in with your idea: it made me pay attention to what the tool tips actually say.

EB

replying to my own question in case it helps someone else (if they’re as dozy as I have been):

Rather than use an ixVolume (which points internally to /ix-applications) as the default for config and data, use it for config but use a host path for the data. Then you can mount the host path wherever you need it, make it RO etc.

1 Like