Page 1 of 1

ZoneMinder + FreeNAS SMB

Posted: Fri Aug 03, 2018 11:00 pm
by trillobite
Running:
FreeNAS v.11.1
ZoneMinder v.1.30.4

Followed this guide: https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS

Everything works, except when I turn a monitor to "record" I get the following error: "Can't symlink '2' to 'Monitor-2': Operation not supported" "zm_monitor.cpp 495"

I do not even know where to go from here, I searched other forum posts and mostly found responses somewhere along the lines of "well, it's working for everyone else..." It looks like this is an issue that is very specific to combining FreeNAS 11.1 and ZM 1.30.4, as it appears older versions of the two would work together just fine.

What are my options?

Re: ZoneMinder + FreeNAS SMB

Posted: Sat Aug 04, 2018 2:38 am
by bbunge
Are you using Ubuntu and if so which version?

Re: ZoneMinder + FreeNAS SMB

Posted: Sat Aug 04, 2018 4:20 am
by trillobite
Thanks for the reply, I did forget to mention that I am running Ubuntu 18.04. I sadly won't be able to work on this machine until Monday, but any input would be helpful.

The only way I have been able to get Zoneminder to store anything on the NAS was to setup an iSCSI, and mount it to Linux by following these guides:
https://help.ubuntu.com/lts/serverguide ... iator.html
http://thesolving.com/storage/how-to-cr ... h-freenas/

Then, I followed the guide on the ZoneMinder wiki for storing on a separate drive by UUID.

However, for some reason I was only able to get the iSCSI drive to format to a maximum size of 4TB, although because I was strapped on time, I didn't investigate it much further. The system is up, and recording with enough storage for at least the weekend, but I would rather be able to simply follow the guide in the Zoneminder wiki, as it would result in a system which is far less complex, and would most likely provide more storage.

Thanks!

Re: ZoneMinder + FreeNAS SMB

Posted: Sun Aug 05, 2018 1:36 am
by bbunge
I am not an "expert" with FreeNAS but I see it has the ability to use the ZFS file system. Using the NAS with a RAID or a single drive should work. NFS export using the systemd mount may be the best for performance but could pose some security complications. SMB on the NAS will also work with the systemd mount. The instructions in the WIKI for Ubuntu were written for 16.04 but should work for 18.04. Make sure your zoneminder is set up and configured on the server before trying to add the remote drive.
If you continue to have issues I can set up a test system to see if my procedures have problems...

Re: ZoneMinder + FreeNAS SMB

Posted: Sun Aug 05, 2018 2:07 am
by Lee Sharp
FreeNAS will do NFS and you will have much less trouble then with smb.