dedicated hard drive

Forum for questions and support relating to the 1.29.x releases only.
Locked
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

dedicated hard drive

Post by alabamatoy »

I followed these instructions (with some necessary tweaks) https://wiki.zoneminder.com/Using_a_ded ... Hard_Drive

The drive is mounted, fstab appears to be correct, ownership is www-data but nothing appears in either events or images folders, and ZM appears to be happily writing stuff to /var/cache/zoneminder folders.

fstab:

Code: Select all

/dev/sdb1 /zmdata ntfs defaults,umask=007,uid=33,gid=33 0 2
/zmdata/images /var/cache/zoneminder/images none defaults,bind 0 2
/zmdata/events /var/cache/zoneminder/events none defaults,bind 0 2
gid/uid is www-data

What have I missed?
User avatar
gnocera
Posts: 34
Joined: Thu Jun 04, 2015 6:31 pm

Re: dedicated hard drive

Post by gnocera »

Hi,

What about your log? On the upper right side of the zoneminder main window.
What Linux distribution are you using?

Please post the df output also.

Regards.
evolotion
Posts: 46
Joined: Mon Aug 01, 2016 9:03 pm

Re: dedicated hard drive

Post by evolotion »

did you mount -a to apply your changes to fstab?

did you try mounting the zmdata folder without the umask/uid/gid?

Just went thro this myself a few minutes ago and worked fine :/
alabamatoy
Posts: 360
Joined: Sun Jun 05, 2016 2:53 pm

Re: dedicated hard drive

Post by alabamatoy »

I gave up on this. There was something amiss in the NTFS and the associated permissions and rights etc....no matter what I did or tried it wouldnt seem to work. So I did the Ubuntu thing and gave M$ the finger and reformatted the whole bleeping drive (both of them) and started over from scratch. So now Im committed to Linux and really can't go back. Even if I wanted to, which I really dont at this point.

The surprising thing was, it took me about 2 hours to do what took me far longer the first time around. I have a nice happy 16.04 LTS running 1.29 zoneminder storing stuff on a secondary HDD and log files that are mostly just nothing but good news. (does little victory dance)

Thanks for all the help. This forum is great, every time I ask stupid questions yall help me out.
Locked