I've setup a new server, primarily for ZM but also for other bits. So i've setup proxmox and have a VM for zoneminder, i've setup LVM on a larger HDD, and a volume for zoneminder that i've mounted to the container
the question is, how the hell do i get zoneminder to see the % of this mounted volume for use with filters?
Sagitt has quit
bhuddah
did you mount it in the appropriate mount-point?
ren0v0
probably not!
i stuck it in /mnt/data
bhuddah
yeah, well. you need to (at least) link it to the storage location for your events.
Titler: [Bash] @zoneminder:/mnt/data$ ls -lash total 40K 4.0K drwxr-xr-x 7 root root - Pastebin.com
ren0v0
knnniggett, so i'll still follow your guide and bind the DIR to the /var/cache/zoneminder ?
bhuddah
ah, crap. yes. you need to somehow link it.
symlink will do too.
(at least for me it works)
ren0v0
any benefit/performance on one or the other?
erm, any reason why this isn't actually configurable in the first place?
knnniggett
Please read the FAQ at the bottom of the link (discusses why symlinking can cause you to lose your events in some cases)
ren0v0
knnniggett, FYI, think there may be typo/confusion on that FAQ regarding "newdrive" and "otherdrive", at least it confused me until i realised its probably a mistake
knnniggett
ren0v0: "otherdrive" is part of the name of the mount point the original author chose to use for the example. "newdrive" refers to the physical, new hard drive or volume.
but I can see how that could be confusing
s/newdrive/new drive
fixed
bhuddah: historically the simplest approach to a dedicated volume was to just symlink the volume to the events folder. I used to do it myself. However, now that we have started pushing everyone towards packages (rather than build from source), we found that some packages would not upgrade properly if the events folder was modified. This causes the end user to lose all their events when they tried to start zm after a package upgrade.
bhuddah
that's not nice. i didn't know that.
i would consider that a bug in the package.
knnniggett
I wouldn't. You are modifying the folder structure, which can break any package.
ren0v0
knnniggett, he used "mkdir /newdrive/events"
its a dir not just naming?
just want to be sure we're on the same page before i bork something :)
bhuddah
a loop mount isn't any better.
ren0v0
can i ask again why the path isn't coded as a variable and a default? i'm not trying to sound rude, would help if i could, just curious
would surely get rid of any of this issue
bhuddah
probably "historical reasons"
ren0v0
could be a simple search/replace
doubt it, or it would have been done right? :P
bhuddah
you can submit a pull request and change it.
ren0v0
"would help if i could"
i've not even looked at the code to be fair, but i'm limited to what i can do
i dont even know what its written in, i'll take a peak in a bit with a cuppa
jzaw, according to knnniggett that isn't the "best" thing to do, so i've followed that wiki page, will see if it works
jzaw, seems we have a very similar setup :)
works :)
stupid question though, its still writing to /var/cache/zoneminder as well ? or is that just a link being shown
elmargol has quit
knnniggett, you closed this issue, but i still have this warning and a similar ERR https://github.com/ZoneMinder/ZoneMinder/issues... >> Shared data not initialised by capture daemon for monitor SideHigh
just missed an event
elmargol joined the channel
asker joined the channel
NoFinessin has quit
asker_ joined the channel
asker_
morning
asker has quit
when you configure apache to restrict number of parallel handlers for requests, does it not queue additional requests if its reached max limit? An interesting bug was reported by one user - in one of my screens of my app, I am invoking 4 parallel API requests of which 2 were returning HTTP error. The person debugged and noticed that the requests were not reaching syslog and I assumed the problem was with my app. He
later debugged more and found out apache was simply dropping them because he had his max limit set to 3.
jzaw
[13:11:02] <ren0v0> jzaw, according to knnniggett that isn't the "best" thing to do, so i've followed that wiki page, will see if it works