-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I set mounted gdrive as download folder for torrent client, nothing is downloaded #169
Comments
I'm not sure it has anything to do with GDFS. It just looks like any other
folder.
Without more information or an error, or something, I can't help.
…On Dec 3, 2016 17:18, "Konstantinusz" ***@***.***> wrote:
I have very low space on VPS, so I tried GDriveFS for mounting my google
drive to get some extra disk space. Everything went fine on my Arch Linux
box, I was able to copy files to and from the mounted drive. Unfortunately
when I have set it as a download directory for my Transmission torrent
client, downloads doesn't start. What can I do to make it capable to be
download directory of the torrent client?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#169>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArrapZ_C5tggdGMekhdyPv4AV9QiWufks5rEhTggaJpZM4LDd4h>
.
|
I have set the download directory of the torrent client Transmission to a directory on the remote disk mounted by gdrivefs, but after a while all downloading torrent becomes "stopped" state, and also the drive becomes read-only. I had to umount and remount. |
How long is "a while"?
Please follow the directions in the "Developing/Debugging" section of the
documentation in order to produce a log from which you might see a failure
event or otherwise provide more information.
…On Thu, Dec 8, 2016 at 1:29 PM, Konstantinusz ***@***.***> wrote:
I have set the download directory of the torrent client Transmission to a
directory on the remote disk mounted by gdrivefs, but after a while all
downloading torrent becomes "stopped" state, and also the drive becomes
read-only. I had to umount and remount.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#169 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AArrasswW9HCUHNbXn99XDPQjy_6QoOrks5rGEx-gaJpZM4LDd4h>
.
|
It becomes buggy right after mounting. I tried to copy a 27 KB jpeg file to the drive, I got an error message in Midnight Commander, and a 4096 byte file appeared on the drive, which was the first 4096 byte of the 27 KB file. Then I set the GD_DEBUG environment variable to 1, and this is the log: |
A Google search for the error seems to indicate that this is a potential issue with the GD client and the OAuth client integration. I'm looking into it, further. |
I see, and python2.7 is activated by the program and not python3, isn't it a problem? |
The project is only currently Python 2.7-compatible. It remains to be seen whether the error in the logs (though I have not seen it before) is causing your problem. We've been using the same version of that library for more than two years. Try to do two things. Maintain the order:
If you want something that definitely works in order to compare against, use the Vagrant definition that's included with the project to launch a preconfigured environment ("vagrant up" in the same path as the Vagrantfile). If it's of any interest to you for reasons that I can't predict, these are the current versions of *oauth2client":
|
Important sidenote: Using gdrivefs for large amounts of extra space that is randomly accessed (e.g., torrents) is not going to work as well as you'd hope. gdrivefs works by caching client-side copies of data files, which means that you don't really save disk space on files that are open and being accessed. Any file currently being transferred in or out by a torrent client is open and being accessed, so it will take up its full space on the local system's /tmp directory. More importantly, torrents tend to be of relatively large (10s or 100s of MB) individual files. If a torrent has been sitting idle for long enough that its files drop out of cache, the first torrent client which connects for it will pull it back out by downloading the entire file back to the local system. All this means that using gdrivefs for torrent download space is a very, very bad idea. It (and the protocol used by gdrive) is not designed for that usage pattern. |
I see, now I know why my 256 MB /tmp became full with no free space. Does the program make temp files with names like "0" "1" "2" etc? I have only 15 GB disk space, 512 MB RAM, 512 MB swap on the VPS, so /tmp is only 256 MB. Maybe this was the cause of the error too, /tmp was simply full with no space left. My other scripts also didn't worked well due to this. |
The temp files are of the pattern /tmp/tmpXXXXXX/AAAAAAAAA_*; the AAAAAAAAA identifies your account, and the _... after it is gdrive's API ID for a given file. |
@tvierling As far as random access is concerned, there is actually supposed to be support for downloading specific byte ranges. However, it didn't work properly when I tested it. |
@Konstantinusz I'm closing this issue as I've seen no activity on your part. |
I have very low space on VPS, so I tried GDriveFS for mounting my google drive to get some extra disk space. Everything went fine on my Arch Linux box, I was able to copy files to and from the mounted drive. Unfortunately when I have set it as a download directory for my Transmission torrent client, downloads doesn't start. What can I do to make it capable to be download directory of the torrent client?
The text was updated successfully, but these errors were encountered: