greentown Posted August 1, 2013 Report Share Posted August 1, 2013 Hi,I have a problem with btsync triggering my external usb disk to spin up when there is no transfers going on.I'm using BitTorrent Sync to sync some folders that usually don't change much. I'm running it on a Raspberry pi, Windows and Android. Since the Raspberry pi doesn't consume much power, I leave it on all of the time. However, since there are some days in which the content of the folders don't change at all, I am very interested in getting the USB hard disk connected to the pi to spin-down. The spinning-down works well, I am using a tiny program called hd-idle. The problem is that btsync seems to spin-up the disks every half an hour...This is an extract of the logs from hd-idle:date: 2013-07-31, time: 16:30:57, disk: sda, running: 901, stopped: 900date: 2013-07-31, time: 17:01:00, disk: sda, running: 903, stopped: 900date: 2013-07-31, time: 17:31:07, disk: sda, running: 907, stopped: 900date: 2013-07-31, time: 18:01:14, disk: sda, running: 907, stopped: 900date: 2013-07-31, time: 18:31:21, disk: sda, running: 907, stopped: 900date: 2013-07-31, time: 19:01:30, disk: sda, running: 908, stopped: 901date: 2013-07-31, time: 19:31:36, disk: sda, running: 906, stopped: 900As you can see, the disk is spinning ("running" in the logs) for around 900 seconds. As per the configuration, the disk is spun down after 900 seconds idle, but it only remains so for 900 seconds, when it's awaken by an application. If I stop btsync this behaviour also stops, and the disk sleeps much much longer, so I know that btsync is causing this.I've tried changing some setting in the config file, specifically I've added the "advanced" option"folder_rescan_interval" : 86400, but it has not changed anything.Any ideas to keep btsync from from spinning up my disk every 30 minutes? Quote Link to comment Share on other sites More sharing options...
Aleksazhko Posted August 1, 2013 Report Share Posted August 1, 2013 “folder_rescan_interval”: 86400without first space symbol. Just add this string in your btsync.conf file Did you restart the daemon?Its very important. Quote Link to comment Share on other sites More sharing options...
greentown Posted August 1, 2013 Author Report Share Posted August 1, 2013 Hi,I tried your suggestion and removed the space, but I still get the same behaviour:date: 2013-08-01, time: 13:19:50, disk: sda, running: 992, stopped: 810date: 2013-08-01, time: 13:49:52, disk: sda, running: 902, stopped: 900Yes, I am restarting the daemon each time. Quote Link to comment Share on other sites More sharing options...
buggyro Posted February 27, 2014 Report Share Posted February 27, 2014 I'm using version version 1.1.82 with WD My Book Live and seeing the same behavior. I have folder rescan set to 86400, and i see the settings.dat being accessed every 30 min. I have set the computers that sync with the My Book Live so ssh on login/logout and start/stop the btsync service. That way the My Book Live sleeps ok.But now I want to use My Book Live to sync with an Android Phone so that won't work anymore. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted February 28, 2014 Report Share Posted February 28, 2014 Hi all, This is a known issue. Indeed every ~30 minutes some data is written to disk by BTSync. We plan to optimize it in future releases to make sure it does not wake up HDDs. Quote Link to comment Share on other sites More sharing options...
Dahaniel Posted March 2, 2014 Report Share Posted March 2, 2014 RomanZ: good to hear that! What about the problem of SyncID and sync.log eing updated almost every second when devices are connected but no data is being copied?http://forum.bittorrent.com/topic/20072-btsync-inhibits-disk-hibernation-interaction-with-syncid-file When I have no other clients running my MyBookLive spins down and restarts every 30min but otherwise it won't spindown at all. Quote Link to comment Share on other sites More sharing options...
fxp Posted August 18, 2014 Report Share Posted August 18, 2014 Hi all, This is a known issue. Indeed every ~30 minutes some data is written to disk by BTSync. We plan to optimize it in future releases to make sure it does not wake up HDDs. Any update on this? Quote Link to comment Share on other sites More sharing options...
tietze111 Posted December 15, 2014 Report Share Posted December 15, 2014 I have the same problem, is there an update on this? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted December 15, 2014 Report Share Posted December 15, 2014 @tietze111Unfortunately, the fix included in 1.4 did not address the issue completely. We are still working to resolve it. Quote Link to comment Share on other sites More sharing options...
tietze111 Posted February 11, 2015 Report Share Posted February 11, 2015 @RomanZAny update on this? Is a fix coming? Thank you in advance! Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted February 11, 2015 Report Share Posted February 11, 2015 @RomanZAny update on this? Is a fix coming? Thank you in advance! Have you tried with the latest 1.4.110 build? Quote Link to comment Share on other sites More sharing options...
Orrigo Posted April 19, 2015 Report Share Posted April 19, 2015 I have the same problem in my raspberry pi 2, BSync never go in idle, possible somebody to help me? 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.