Page 2 of 2

Re: Storage Spread Over 5 Drives

Posted: Mon Mar 25, 2019 12:25 pm
by srinivas
knight-of-ni wrote: Fri Jul 22, 2016 7:09 pm See this guide:
https://pthree.org/2012/12/17/zfs-admin ... lesystems/

It is very helpful.

After you create the filesystem, change its mount point to point to /var/lib/zoneminder/events like I did

Hey there,
Very sorry to open an old thread.

Ive tried mounting the new ZFS filesystem in /var/cache/zoneminder/events but i get an error stating that Zone minder is unable to write to the location, therefore i dont see any videos in the folder.

Im very new to zoneminder and have been learnign about ZFS for the last week and am very excited about using it at home.

Any help would be greatly appretiated.

Re: Storage Spread Over 5 Drives

Posted: Mon Mar 25, 2019 12:26 pm
by srinivas
To offer a bit more clarity, i am running Zoneminder 1.32 on Ubuntu 16.04.

Followed all the steps as mentioned in the official documentation

Re: Storage Spread Over 5 Drives

Posted: Mon Mar 25, 2019 1:47 pm
by iconnor
You need to either change ownership or permissions on the destination directory. It's probably easier to create a directory in the mounted drive and chown www-data:www-data that dir.

Anyways

sudo chown www-data:www-data /var/lib/zoneminder/events

will likely fix your problem.

Re: Storage Spread Over 5 Drives

Posted: Sat Apr 13, 2019 6:31 am
by srinivas
@iconnor Thank you very much. It did solve the problem.