Help Using Dedicated Hard Drive
Posted: Sat May 18, 2013 3:49 am
I have a fully operating Zoneminder system, at least until I followed the directions here to setup a dedicated hard drive for recording events and images.
Now I am not recording anything. The log file shows:
2013-05-17 zmfix 2327 ERR Can't stat /dev/video7: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video5: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video6: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video4: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video3: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video2: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video1: No such file or directory zmfix.cpp 86
I noticed there is no error entry for video0, however, video0 also does not record.
The /etc/fstab file has been modified to include:
/dev/sdc1 /recorded_video ext4 defaults 0 2
/recorded_video/images /usr/share/zoneminder/images none defaults,bind 0 2
/recorded_video/events /usr/share/zoneminder/events none defaults,bind 0 2
The name of the drive is recorded_video, the "images" and "events" directories are created, and the file system if ext4.
The /lib/udev/rules.d/50-udev-default.rules file was modified to include:
KERNEL==”video*″, SYMLINK+=”video”, MODE=”0666″
When running # ls -l /dev/video*
the output is:
crw-rw-rw-+ 1 root video 81, 0 May 17 22:30 /dev/video0
crw-rw-rw-+ 1 root video 81, 2 May 17 22:29 /dev/video1
crw-rw-rw-+ 1 root video 81, 4 May 17 22:30 /dev/video2
crw-rw-rw-+ 1 root video 81, 6 May 17 22:34 /dev/video3
crw-rw-rw-+ 1 root video 81, 8 May 17 22:31 /dev/video4
crw-rw-rw-+ 1 root video 81, 10 May 17 22:32 /dev/video5
crw-rw-rw-+ 1 root video 81, 12 May 17 22:33 /dev/video6
crw-rw-rw-+ 1 root video 81, 14 May 17 22:33 /dev/video7
With the above modifications to a working system, my "record" cameras are all red on the Zoneminder screen.
If someone can see what I am doing wrong, please correct me.
Now I am not recording anything. The log file shows:
2013-05-17 zmfix 2327 ERR Can't stat /dev/video7: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video5: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video6: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video4: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video3: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video2: No such file or directory zmfix.cpp 86
2013-05-17 zmfix 2327 ERR Can't stat /dev/video1: No such file or directory zmfix.cpp 86
I noticed there is no error entry for video0, however, video0 also does not record.
The /etc/fstab file has been modified to include:
/dev/sdc1 /recorded_video ext4 defaults 0 2
/recorded_video/images /usr/share/zoneminder/images none defaults,bind 0 2
/recorded_video/events /usr/share/zoneminder/events none defaults,bind 0 2
The name of the drive is recorded_video, the "images" and "events" directories are created, and the file system if ext4.
The /lib/udev/rules.d/50-udev-default.rules file was modified to include:
KERNEL==”video*″, SYMLINK+=”video”, MODE=”0666″
When running # ls -l /dev/video*
the output is:
crw-rw-rw-+ 1 root video 81, 0 May 17 22:30 /dev/video0
crw-rw-rw-+ 1 root video 81, 2 May 17 22:29 /dev/video1
crw-rw-rw-+ 1 root video 81, 4 May 17 22:30 /dev/video2
crw-rw-rw-+ 1 root video 81, 6 May 17 22:34 /dev/video3
crw-rw-rw-+ 1 root video 81, 8 May 17 22:31 /dev/video4
crw-rw-rw-+ 1 root video 81, 10 May 17 22:32 /dev/video5
crw-rw-rw-+ 1 root video 81, 12 May 17 22:33 /dev/video6
crw-rw-rw-+ 1 root video 81, 14 May 17 22:33 /dev/video7
With the above modifications to a working system, my "record" cameras are all red on the Zoneminder screen.
If someone can see what I am doing wrong, please correct me.