ZoneMinder + FreeNAS SMB

Forum for questions and support relating to the 1.30.x releases only.
Locked
trillobite
Posts: 8
Joined: Fri Aug 03, 2018 10:36 pm

ZoneMinder + FreeNAS SMB

Post 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?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder + FreeNAS SMB

Post by bbunge »

Are you using Ubuntu and if so which version?
trillobite
Posts: 8
Joined: Fri Aug 03, 2018 10:36 pm

Re: ZoneMinder + FreeNAS SMB

Post 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!
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ZoneMinder + FreeNAS SMB

Post 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...
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Re: ZoneMinder + FreeNAS SMB

Post by Lee Sharp »

FreeNAS will do NFS and you will have much less trouble then with smb.
Locked