add an extra hard drive in zoneminder

Discussion topics related to mobile applications for ZoneMinder
Post Reply
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

add an extra hard drive in zoneminder

Post by titof2375 » Sun Mar 21, 2021 5:56 pm

hello, I would like to add a hard disk on the zoneminder lxc, I would like to know if I have to modify files for detection

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Sun Mar 21, 2021 6:02 pm

Yes, in the storage tab of Options ->
Attachments
Screenshot from 2021-03-21 12-02-07.png
Screenshot from 2021-03-21 12-02-07.png (408.91 KiB) Viewed 1913 times

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Sun Mar 21, 2021 7:04 pm

what is there to do?
disque.PNG
disque.PNG (10.34 KiB) Viewed 1907 times

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Sun Mar 21, 2021 7:07 pm

You setup a new storage with the /path/to/new/storage

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Sun Mar 21, 2021 9:36 pm

Dont forget to change the "Storage" on your monitor feeds to point to your new hard drive once you have it set up in zm.
Attachments
Screenshot from 2021-03-21 15-35-13.png
Screenshot from 2021-03-21 15-35-13.png (417.89 KiB) Viewed 1897 times

burger
Posts: 266
Joined: Mon May 11, 2020 4:32 pm

Re: add an extra hard drive in zoneminder

Post by burger » Mon Mar 22, 2021 3:58 am

https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

Don't forget to make a new filter for purgewhenfull on the storage area.
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

If you are new to security software, read this:
https://wiki.zoneminder.com/Dummies_Guide

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Mon Mar 22, 2021 5:45 am

Screenshot_20210322-064351_Chrome.jpg
Screenshot_20210322-064351_Chrome.jpg (208.77 KiB) Viewed 1881 times
hello, it was checked in origin

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Mon Mar 22, 2021 7:40 pm

I dont understand the last reply. As long as you have that hard drive properly setup and mounted into the docker container, you should only need to point ZM to the /path/to/new/hard/drive, make sure it is "Enabled" and then change the "Storage" options in your monitor feeds to point towards your new hard drive/mount point.

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Tue Mar 23, 2021 5:50 am

for info I am not on my proxmox docker, and nothing goes on the hard drive.

rrrrrrrrrrrrrrrrrrrrrrrrrr.PNG
rrrrrrrrrrrrrrrrrrrrrrrrrr.PNG (12.98 KiB) Viewed 1846 times

hahahaha.PNG
hahahaha.PNG (9.96 KiB) Viewed 1846 times

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Tue Mar 23, 2021 11:08 am

  • First click the yellow circled area in CONSOLE view (ip or /path/ to camera)
Screenshot from 2021-03-23 04-59-31.png
Screenshot from 2021-03-23 04-59-31.png (507.75 KiB) Viewed 1818 times
  • Then go to "Storage" tab circled in green and then click the drop down menu circled in blue and select your new hard drive
Screenshot from 2021-03-23 05-03-24.png
Screenshot from 2021-03-23 05-03-24.png (424.57 KiB) Viewed 1818 times

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Tue Mar 23, 2021 11:49 am

ssddsds.PNG
ssddsds.PNG (7.45 KiB) Viewed 1816 times

yes, yes how is it already

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Tue Mar 23, 2021 11:51 am

Then the events that happen now will start to save to your new hard drive

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Tue Mar 23, 2021 2:25 pm

No, it's been like that since yesterday and nothing on the new record.

tsp84
Posts: 68
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 » Tue Mar 23, 2021 2:31 pm

Check the log. See if the permissions are causing errors. See if user www-data can write to the /path/to/hdd

titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 » Wed Mar 24, 2021 5:31 am

I solved the problem otherwise, I moved zoneminder directly to the hard drive of 1 terra, like that no more storage problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests