Channels DVR FreeNAS Mount Points

I'm having difficulty getting the FreeNAS Plugin fully setup. I'm currently running FreeNAS 11.2 and have been able to get Channels DVR plugin installed. The difficulty I'm having is getting the Channels DVR recordings pointed over to my dataset.

I've tried adding a Mount Point to the jail but it makes it undiscoverable by Channels DVR. If I manually type in the location of the mount I get the following error:

Error: unable to create dvr directory: mkdir /usr/local/channels-dvr/mountpoint: file exists

If anyone has any ideas/solutions for how to get the DVR recordings saving to my main dataset/shares it would be greatly appreciated.

cc @teladog01 @JMcGuire

I haven't used the plugin, @tmm1 is the plugin just a script of commands similar to my manual method?

When I install manually, one of the last steps is to mount the dataset (already created in the Freenas UI) inside the iocage jail. This is done using the following command assuming my dataset is located at /mnt/storage/dvrtest

iocage fstab -a channelstest /mnt/storage/dvrtest /dvr nullfs rw 0 0

After this is done I can now use the Channels Web UI to select /dvr for my recordings

1 Like

After doing some more google-fu. I think the problem might be with the permissions on the mount point.

This might come back to what the UID of the default user is. I saw the previous thread but wasn't able to decipher the resolution. I'll also try your command when I get home.

That is another thing I can't help with without knowing more about how the plug-in works. Manually I install the DVR server with user/group channels/channels and uid/gid 820.

You can see the plugin script on https://github.com/fancybits/iocage-plugin-channels-dvr

1 Like

You'll need to make sure you have a user on the FreeNAS side with full read/write (preferably owner) permissions to the dataset, that has the same UID as the jail user that channels runs as, in this case 820. The usernames don't have to be the same, but the UIDs must match. Then you can just map a mount point for the jail as usual in the FreeNAS web UI.

Yep I agree. I'll try that when I get home.

Ya confirmed it works now

1 Like