Hi,
I have recently setup a FreeNAS 9.2.0 server with btsync in a jail. btsync have two ways to detecting that a file has changed or has been added.
1. It scans the shared folders at regular intervals (can be changed in config file).
2. Using a mechanism to be notified when any change is made by the OS/file system.
I decided to test this on FreeNAS. I deliberately set the scan interval to 36000s (10 hours). Then I copied a file via cifs/samba to a share used by btsync. The issue is that btsync did not detect the change until 10 hours had passed. I wrote an question in the btsync forum:
http://forum.bittorrent.com/topic/26430-detecting-file-changes-on-freenas-seems-to-have-issues/
I got a response saying:
Does any one know what kind of support FreeBSD/FreeNAS has for file system notification?
I have recently setup a FreeNAS 9.2.0 server with btsync in a jail. btsync have two ways to detecting that a file has changed or has been added.
1. It scans the shared folders at regular intervals (can be changed in config file).
2. Using a mechanism to be notified when any change is made by the OS/file system.
I decided to test this on FreeNAS. I deliberately set the scan interval to 36000s (10 hours). Then I copied a file via cifs/samba to a share used by btsync. The issue is that btsync did not detect the change until 10 hours had passed. I wrote an question in the btsync forum:
http://forum.bittorrent.com/topic/26430-detecting-file-changes-on-freenas-seems-to-have-issues/
I got a response saying:
Unfortunately FreeBSD version of BTSync cannot track immediate changes on file system due to OS peculiarities. So, sync folders on FreeBSD are updated only during every full rescan interval, in your case - every 10 hours.
Does any one know what kind of support FreeBSD/FreeNAS has for file system notification?