Buy a RPi if your unraid doesn't support quotas. Then setup different users for each camera and share out via smb. I'm doing something similar but have separate 75GB partitions for each camera on a USB drive connected to my RPi
sudo quota -u ipcam001 -s
Disk quotas for user ipcam001 (uid 1002):
Filesystem space quota limit grace files quota limit grace
/dev/sdb1 100000K* 100000K 100000K 326 10000 10000
NAS is most likely to be reporting the full free space to the camera that it has available and not the amount remaining of the users quota. To check telnet into the camera and after the Test completes okay do a 'df' to check the reported free space. I have the same problem with the latest QNAP firmware but the previous version works fine.
# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 7.9M 6.5M 1.4M 83% /
/dev/root 7.9M 6.5M 1.4M 83% /
udev 46.6M 80.0K 46.5M 0% /dev
/dev/ubi1_0 19.8M 10.2M 8.6M 54% /dav
/dev/ubi3_0 1.3M 108.0K 1.1M 9% /davinci
/dev/ubi4_0 1.3M 76.0K 1.1M 6% /config
10.42.0.1:/mnt/sdb1/ipcam001
917.1G 326.8G 543.7G 38% /mnt/nfs00
adduser seccam01
mkdir /media/disk2/cams
mkdir /media/disk2/cams/cam01
chown -R seccam01:seccam01 /media/disk2/cams/cam01
edquota seccam01
sudo quota -u seccam01 -s
Disk quotas for user seccam01 (uid 1003):
Filesystem space quota limit grace files quota limit grace
/dev/sdc1 29397M 0K 30720M 143 0 0
[Camera01]
guest ok = no
create mask = 0755
comment = Security Camera 01
browsable = yes
path = /media/disk2/cams/cam01
write list = seccam01
create mask = 0755
[COLOR=#000000][FONT=Tahoma]# tar -cf davinci.tar davinci[/FONT][/COLOR]
[COLOR=#000000][FONT=Tahoma]# lzma davinci.tar[/FONT][/COLOR]
[COLOR=#000000][FONT=Tahoma]# mv davinci.tar.lzma davinci.tar.gz[/FONT][/COLOR]
Hi, everyone.
Here is the patch for 5.2.5.
DCC09DE54900001A0B005CE14700001A - original
DCC09DE5000000000B005CE100000000 - patched
Pay attention on packing davinci back to davinci.tar.gz. This is not a gzip! This is LZMA! You can check it in /dav/initrun.sh. There is an instruction tar -axf, where -a key means lzma.
So, the right way to pack davinci.tar.gz is:
Code:[COLOR=#000000][FONT=Tahoma]# tar -cf davinci.tar davinci[/FONT][/COLOR] [COLOR=#000000][FONT=Tahoma]# lzma davinci.tar[/FONT][/COLOR] [COLOR=#000000][FONT=Tahoma]# mv davinci.tar.lzma davinci.tar.gz[/FONT][/COLOR]
UPD: By default shedule has type other on each day and hour. Set this into "Continious" and it'll be allright.
Here is the link for 5.2.5 patched davinci.tar.gz with NFS patch.
If you can read russian, more info you can find here.
I haven't had this problem and I specifically tested for its occurrence. If my main PC, which is housing CIFS/SMB 200 GB shares, one dedicated per camera, reboots then the camera will send me an email saying that it has lots its HD, but as soon as the PC comes back up it is able to jump right back in on those shares. This is with firmware 5.2.0.Is there a way to have the camera automatically "reconnect" to the NAS if for some reason my storage machine reboots? I am using NFS and is working fine, but after every reboot of the storage, it appears "Uninitialized" untill I manually reboot the camera