
Hi, I bought some new IP cameras, that have built-in motion detection and can record to a remote CIFS/Samba share. Sounds good, but they're buggy -- more than 512Mbyte on the remote CIFS share and they crash out. Known issue for a while, it turns out, and the manufacturer (Hikvision) doesn't seem to care to fix it. So, I need to make the samba shares report a disk quota rather than the full free space on the server. HOWEVER -- I have tried both the classic 'quota' tools, and btrfs' quota tools, and neither results in the desired effect. Classic 'quota' tools report "No filesystems with quota detected". btrfs' qgroup stuff works to limit writes beyond the quota, but samba doesn't see or report the quota. Any ideas? (Last resort would be to mount a fixed-size FS image via the loopback driver, but.. ugh.. there has to be a better way!) -T