Add a drive to store the images?
Posted: Tue Dec 19, 2006 3:08 am
Hi, I am using the ZoneMinder FC3 Distro v1.21.3. I. I would like to add another hard drive to the machine. I want to keep everything as is except save the images on the new drive. I have found instructions in these threads
http://www.zoneminder.com/forums/viewtopic.php?t=7108
http://www.zoneminder.com/forums/viewtopic.php?t=7123
I have run the yum update command, but got this error - Cannot find a valid baseurl for repo: ctu-updates-released - So if there was an update that affects the solution, I don't have it (there was a note in one of the threads that said there may be such an update).
This is the line I added to /etc/fstab, and the drive contains the directories /zm/events
So the question I guess is: do I add this to the zm-httpd.conf
or do I follow these instructions
Thanks in advance!
http://www.zoneminder.com/forums/viewtopic.php?t=7108
http://www.zoneminder.com/forums/viewtopic.php?t=7123
I have run the yum update command, but got this error - Cannot find a valid baseurl for repo: ctu-updates-released - So if there was an update that affects the solution, I don't have it (there was a note in one of the threads that said there may be such an update).
This is the line I added to /etc/fstab, and the drive contains the directories /zm/events
Code: Select all
/dev/hdc1 /mnt/data ext3 defaults 0 0:
Code: Select all
Alias /zm/events "/mnt/data/zm/events/"
<Directory "/mnt/data/zm/events">
Options MultiViews FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Or do I do both?you'll have to move the files to the new directory then link to it.
mv /var/www/html/zm/events /data/zm/events
ln -s /var/www/html/zm/events /data/zm/events
Thanks in advance!