I've been running Zone Minder with three cam's running in Moddetect mode 24x7 since May.
Noticed that one of my cams is no longer recording. Disk space looks good:
zoneminder:/home/tim# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 146G 63G 76G 45% /
Here is the output from syslog:
Aug 29 10:40:57 localhost zma_m2[15535]: INF [Warming up]
Aug 29 10:41:02 localhost zma_m2[15535]: ERR [Can't make events/2/66344: Too many links]
Aug 29 10:41:02 localhost zma_m2[15535]: INF [Records: 026 - Starting new event 66344]
Aug 29 10:41:02 localhost zma_m2[15535]: ERR [Can't open events/2/66344/001-capture.jpg: No such file or directory]
Aug 29 10:41:07 localhost zmc_m2[15501]: WAR [Buffer overrun at index 4 ]
Recording Errors
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
Recording Errors
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
Go in and check the in the events folder and follow the paths for that cam. Watch the sysmlinks and I bet you'll find one that is pointing back to another link.
You should have events/2/66344 as real folders,
and symlinks corisponding to the camera names pointing to the camera ID (eg. 2)
Once this is corrected it should work.
Regards,
Cordel
You should have events/2/66344 as real folders,
and symlinks corisponding to the camera names pointing to the camera ID (eg. 2)
Once this is corrected it should work.
Regards,
Cordel
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
It was the file system limitation. I moved the 2 directory to a backups archive and restarted Zone Minder in Modect mode. Camera is capturing again.
I'm 99% confident I set it up with Ext3 file system. What command could I use to verify that?
Tim
I'm 99% confident I set it up with Ext3 file system. What command could I use to verify that?
Tim
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
If you just type 'mount' it should tell you.
It's not so much the filesystem type that might be the issue, more the way the filesystem is configured. When you build an fs you can specify whether you expect it to have lots of small files, or fewer large files etc. Generally the default is fine for most circumstances but I think the limit is for about 32k files/directories in a directory. It may be possible to modify this with tune2fs but I can't remember for sure.
Phil
It's not so much the filesystem type that might be the issue, more the way the filesystem is configured. When you build an fs you can specify whether you expect it to have lots of small files, or fewer large files etc. Generally the default is fine for most circumstances but I think the limit is for about 32k files/directories in a directory. It may be possible to modify this with tune2fs but I can't remember for sure.
Phil
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
#mountzoneminder wrote:If you just type 'mount' it should tell you.
/dev/hda3 on / type ext3 (rw,errors=remount-ro)
zoneminder:/Backups/2# ls -lzoneminder wrote: It's not so much the filesystem type that might be the issue, more the way the filesystem is configured. When you build an fs you can specify whether you expect it to have lots of small files, or fewer large files etc. Generally the default is fine for most circumstances but I think the limit is for about 32k files/directories in a directory. It may be possible to modify this with tune2fs but I can't remember for sure.
Phil
total 484
drwxr-xr-x 32000 tim root 491520 2005-08-02 16:01 2
Thanks for the lesson Phil.
Tim
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras