megamorot Posted January 20, 2014 Report Share Posted January 20, 2014 Hi, I have a FreeNAS 9.2.0 computer setup with a jail containing btsync.I wanted to test that btsync detects any additions of files via Samba/CIFS so a possible sync is made as soon as possible to other units connected to the share via btsync. I deliberately changed the "folder_rescan_interval" to 36000 (10 hours) to ensure that it wasn't the rescan that triggered the new sync.After this I added a file via my samba share, but the added file isn't syned on the other units :-(.In the btsync faq it says:"When a file is added to the shared folder, the changes start syncing immediately (due to system peculiarities, sync on Mac OS X 10.6 may be delayed up to 10 minutes)".Can this limitation be the same on FreeNAS?Any ideas? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 20, 2014 Report Share Posted January 20, 2014 Hi megamorot, 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. Quote Link to comment Share on other sites More sharing options...
megamorot Posted January 21, 2014 Author Report Share Posted January 21, 2014 Hi RomanZ,Thanks for your information. Is it possible to get some more technical information about what exactly are the issues with FreeBSD and the immediate track changes feature in BTSync? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted January 22, 2014 Report Share Posted January 22, 2014 FreeBSD does not provide an option to get directory change notifications like other OSes do. Therefore, the only way for BTSync to detect changes is a folder rescan. Quote Link to comment Share on other sites More sharing options...
Cryvx Posted February 7, 2018 Report Share Posted February 7, 2018 Hi, Any update on this issue? Is there a workaround? I am having the same issue with running Sync in a FreeBSD 12 Jail. Info: Folders are mounted into the jail using nullfs, and the everything is stored on ZFS pools. Quote Link to comment Share on other sites More sharing options...
Helen Posted February 8, 2018 Report Share Posted February 8, 2018 restart Sync or wait for periodic rescan (each 10 minutes by default). Rescan can be configured - "folder_rescan_interval" in power user settings. Quote Link to comment Share on other sites More sharing options...
sbhouchen Posted June 20, 2018 Report Share Posted June 20, 2018 Is this also true for CentOS 6.9? My server with kernel 2.6.32-696.30.1.el6.x86_64 isn't getting filesystem notifications. The filesystem type is ext4. I'm running Sync 2.5.13, installed via yum. Quote Link to comment Share on other sites More sharing options...
Gane O'dwyer Posted June 21, 2018 Report Share Posted June 21, 2018 @sbhouchen In general OS notification on Linux based devices work not really good and for this reason you have to wait a folder rescan intervak to be completed. But you can edit the value of the OS notifications as described here ->https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers Quote Link to comment Share on other sites More sharing options...
sbhouchen Posted June 21, 2018 Report Share Posted June 21, 2018 4 hours ago, Gane O'dwyer said: @sbhouchen In general OS notification on Linux based devices work not really good and for this reason you have to wait a folder rescan intervak to be completed. But you can edit the value of the OS notifications as described here ->https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers This worked -- thanks!! Quote Link to comment Share on other sites More sharing options...
Gane O'dwyer Posted June 21, 2018 Report Share Posted June 21, 2018 @sbhouchen Good to hear that. Happy Syncing! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.