add an extra hard drive in zoneminder

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

add an extra hard drive in zoneminder

Post 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
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 »

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 7280 times
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 »

what is there to do?
disque.PNG
disque.PNG (10.34 KiB) Viewed 7274 times
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 »

You setup a new storage with the /path/to/new/storage
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post 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.
Attachments
Screenshot from 2021-03-21 15-35-13.png
Screenshot from 2021-03-21 15-35-13.png (417.89 KiB) Viewed 7264 times
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: add an extra hard drive in zoneminder

Post 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.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
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 »

Screenshot_20210322-064351_Chrome.jpg
Screenshot_20210322-064351_Chrome.jpg (208.77 KiB) Viewed 7248 times
hello, it was checked in origin
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post 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.
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post 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 7213 times

hahahaha.PNG
hahahaha.PNG (9.96 KiB) Viewed 7213 times
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post 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 7185 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 7185 times
titof2375
Posts: 66
Joined: Sat Dec 12, 2020 2:32 pm

Re: add an extra hard drive in zoneminder

Post by titof2375 »

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

yes, yes how is it already
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 »

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 »

No, it's been like that since yesterday and nothing on the new record.
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: add an extra hard drive in zoneminder

Post by tsp84 »

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 »

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