Detecting File Changes On Freenas Seems To Have Issues


Recommended Posts

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?

Link to post
Share on other sites
  • 4 years later...
  • 4 months later...
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!!

Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.