The first is that I am using freenas to store all of the footage from zoneminder and followed this tutorial from the wiki: https://wiki.zoneminder.com/Common_Issu ... ive_or_NAS
When the VM boots the storage fails to mount. When I looked at systemctl status this is what returned:
Code: Select all
Sep 04 06:47:31 zimmzones mount[895]: mount error(2): No such file or directory
Sep 04 06:47:31 zimmzones mount[895]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Sep 04 06:47:21 zimmzones systemd[1]: mnt-xvda2.mount: Directory /mnt/xvda2 to mount over is not empty, mounting anyway.
Sep 04 06:47:21 zimmzones systemd[1]: Mounting systemd mount unit for ZoneMinder event storage...
Sep 04 06:47:28 zimmzones systemd[1]: mnt-xvda2.mount: Mount process exited, code=exited, status=32/n/a
Sep 04 06:47:28 zimmzones systemd[1]: mnt-xvda2.mount: Failed with result 'exit-code'.
Sep 04 06:47:28 zimmzones systemd[1]: Failed to mount systemd mount unit for ZoneMinder event storage.
I did go through and double check to make sure that all of the storage configuration information that I had entered was correct.
I've been making sure that I mount the storage right after the vm boots and then start zoneminder. After zoneminder starts I get this warning for most if not all of my cameras 1 minute apart:
Code: Select all
DiskSpace: Event does not exist at /var/cache/zoneminder/events/4/2020-08-20/7224:ZoneMinder::Event: AlarmFrames => 10 AvgScore => 50 Cause => Linked DefaultVideo => 7224-video.mp4 EndTime => 2020-08-20 14:17:04 Frames => 51 Height => 1920 Id => 7224 Length => 10.60 MaxScore => 50 MonitorId => 4 Name => Event- 7224 Notes => Linked: Small Room Sub Orientation => ROTATE_0 SaveJPEGs => 3 Scheme => Medium StartTime => 2020-08-20 14:16:54 StateId => 2 TotScore => 500 Width => 2560
I'm happy to provide additional info that would help troubleshoot the issues. Any suggestions on how I could resolve all of this would be greatly appreciated.