I may be wrong but I'd think you should get somewhere in the same neighborhood through USB 2.0, while not the 100 MB/s you're looking for it's better than the 15-20 you seem to be getting now. After upgrading, the BTSync process stops 15 seconds after I turn on the service. The first install is on a QNAP TS-670 Pro. I'm encountering different (critical) problems with both installations. I'd say that's an expected speed considering my rig is really old. Last night I upgraded 2 QNAP NAS to v1.4.76 of BTSync (from 1.3.106). Next I tried Dolphin which is what I used to load my array for the first time, running the same exact test I used with Filezilla I got about 48MB/s. Note that internal moves are pretty rare for me. Honestly I only use it out of laziness, if I'm already moving data from my seedbox to unraid with Filezilla then I will also use it to move internal folders as needed rather than opening dolphin. I've done some testing and something is limiting my Filezilla to about 13MB/s (see image) this test is moving data within unraid from one share to another, I'm not sure why it isn't faster. Dolphin seems to greatly out perform Filezilla on my rig. I can't speak to Krusader as I haven't used it. Is the limitation in speed related to the smb share? Fortunately, it seems that btsync still runs OK and sets it correctly.Changing from binhex-Krusader to Krusader docker, fixed the problem not seeing the shares free space.Ĭopying with Krusader show 15-20GB speed, so do ftp with FileZilla. Then you'd create a new file in the subdirectory and it would NOT have the correct group. (!!) So you'd create be in a directory create a new subdirectory-it would have the correct group but NOT the sgid which it should also inherit. One additional thing that was weird and frustrating while trying to test stuff while logged in as admin the sgid bit was not being inherited by directories that I manually created. From the top level share (/share/MD0_DATA/):Ĭhgrp -R everyone * <- make sure all the existing files and folders belong to the group "everyone"Ĭhmod -R 775 * <- make sure all that the group has full permissions (this is what the umask above takes care of for new files and directories).Ĭhmod -R g+s * <- set the "sgid" bit which forces new files and directories to inherit the group ownership. Make sure that all your existing files and directories have sufficient privileges and the correct ownership. Note: it seems extremely likely that if you update the package you will need to redo this step!Ģ. I had to ssh in and edit the startup script: /etc/init.d/btsync.sh (which just links to /share/MD0_DATA/.qpkg/BitTorrentSync/btsync.sh It's been a bit of a nightmare, but I finally got this sorted on my two QNAP TS-421ġ. Since your system is a QNAP NAS, I'm quite sure that you are using the btsync QPKG that is totally different from the Debian/Ubuntu package (that is not compatible with the QNAP OS and IMHO there is no way to install it on QOS). All information in that thread is only related to the Debian/Ubuntu packages. I suppose you took your information from the thread Debian And Ubuntu Server Unofficial Packages For Bittorrent Sync. The command and the configuration file setting will not work in your case. With item 2, “dpkg-reconfigure” is not a command available on the version of linux used by the QNAP NAS. In the case of item 1, this setting seems to be ignored by btsync. Neither of the 2 above methods resolve the issue. wxr-xr-x / octal 0755).įrom researching I have found that the 2 ways to change this normally would be:ġ) Add this line to the nf file and restart btsync: // DAEMON_UMASK=002Ģ) Use the following command and when prompted enter "002" as the umask dpkg-reconfigure btsync The problem is that Bittorrent Sync creates new files and folders with read-only permissions for the group “bysync” (i.e. I have successfully managed to enforce all sub-folders and files in my sync folder to inherit the group “btsync” in the file permissions by using: chown admin:btsync /syncchmod g+s /sync In the case of the QNAP NAS, Bittorrent Sync writes files and runs as the user “admin”. Normally, by default, Bittorrent Sync runs on linux as the user: “root” and group: “administrators” and writes these owner:group permissions to syncronized files and folder that it creates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |