External storage
Posted: Tue Mar 24, 2020 7:01 pm
I'm having some trouble recording to an external hard drive. I added the drive in fstab and it shows just fine. added it in the storage section and ZM sees it and reports the size but when I have a camera try to record to it there are errors and nothing gets recorded
Maybe a permissions error?
an example of some errors:
DiskSpace: Event does not exist at /media/data/2/2020-03-24/2:ZoneMinder::Event: AlarmFrames => 37 AvgScore => 12 Cause => Motion DefaultVideo => 2-video.mp4 EndTime => 2020-03-24 12:29:48 Frames => 97 Height => 480 Id => 2 Length => 9.71 MaxScore => 48 MonitorId => 2 Name => Event- 2 Notes => Motion: All Orientation => ROTATE_0 SaveJPEGs => 1 Scheme => Medium StartTime => 2020-03-24 12:29:39 StateId => 1 StorageId => 2 TotScore => 476 Width => 704
Could not open out file '/media/data/1/2020-03-24/3/3-video.mp4': No such file or directory
Can't open /media/data/1/2020-03-24/3/01031-capture.jpg for writing: No such file or directory
Maybe a permissions error?
an example of some errors:
DiskSpace: Event does not exist at /media/data/2/2020-03-24/2:ZoneMinder::Event: AlarmFrames => 37 AvgScore => 12 Cause => Motion DefaultVideo => 2-video.mp4 EndTime => 2020-03-24 12:29:48 Frames => 97 Height => 480 Id => 2 Length => 9.71 MaxScore => 48 MonitorId => 2 Name => Event- 2 Notes => Motion: All Orientation => ROTATE_0 SaveJPEGs => 1 Scheme => Medium StartTime => 2020-03-24 12:29:39 StateId => 1 StorageId => 2 TotScore => 476 Width => 704
Could not open out file '/media/data/1/2020-03-24/3/3-video.mp4': No such file or directory
Can't open /media/data/1/2020-03-24/3/01031-capture.jpg for writing: No such file or directory