Page 1 of 2

add an extra hard drive in zoneminder

Posted: Sun Mar 21, 2021 5:56 pm
by titof2375
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

Re: add an extra hard drive in zoneminder

Posted: Sun Mar 21, 2021 6:02 pm
by tsp84
Yes, in the storage tab of Options ->

Re: add an extra hard drive in zoneminder

Posted: Sun Mar 21, 2021 7:04 pm
by titof2375
what is there to do?
disque.PNG
disque.PNG (10.34 KiB) Viewed 7508 times

Re: add an extra hard drive in zoneminder

Posted: Sun Mar 21, 2021 7:07 pm
by tsp84
You setup a new storage with the /path/to/new/storage

Re: add an extra hard drive in zoneminder

Posted: Sun Mar 21, 2021 9:36 pm
by tsp84
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.

Re: add an extra hard drive in zoneminder

Posted: Mon Mar 22, 2021 3:58 am
by burger
https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

Don't forget to make a new filter for purgewhenfull on the storage area.

Re: add an extra hard drive in zoneminder

Posted: Mon Mar 22, 2021 5:45 am
by titof2375
Screenshot_20210322-064351_Chrome.jpg
Screenshot_20210322-064351_Chrome.jpg (208.77 KiB) Viewed 7482 times
hello, it was checked in origin

Re: add an extra hard drive in zoneminder

Posted: Mon Mar 22, 2021 7:40 pm
by tsp84
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.

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 5:50 am
by titof2375
for info I am not on my proxmox docker, and nothing goes on the hard drive.

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

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

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 11:08 am
by tsp84
  • 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 7419 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 7419 times

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 11:49 am
by titof2375
ssddsds.PNG
ssddsds.PNG (7.45 KiB) Viewed 7417 times

yes, yes how is it already

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 11:51 am
by tsp84
Then the events that happen now will start to save to your new hard drive

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 2:25 pm
by titof2375
No, it's been like that since yesterday and nothing on the new record.

Re: add an extra hard drive in zoneminder

Posted: Tue Mar 23, 2021 2:31 pm
by tsp84
Check the log. See if the permissions are causing errors. See if user www-data can write to the /path/to/hdd

Re: add an extra hard drive in zoneminder

Posted: Wed Mar 24, 2021 5:31 am
by titof2375
I solved the problem otherwise, I moved zoneminder directly to the hard drive of 1 terra, like that no more storage problem.