Page 1 of 1

dedicated hard drive

Posted: Sat Jul 30, 2016 2:39 am
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?

Re: dedicated hard drive

Posted: Tue Aug 02, 2016 6:03 pm
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.

Re: dedicated hard drive

Posted: Tue Aug 02, 2016 6:50 pm
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 :/

Re: dedicated hard drive

Posted: Fri Aug 05, 2016 9:43 pm
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.