I'm downloading a big torrent (500 gb) directly to the OneDrive share mounted in Ubuntu 20.04 by using the following mount command:
sudo rclone mount OneDrive: /media/DISK1/OneDrive --vfs-cache-mode writes --allow-other --daemon
The problem is that the / mount partition is around 30 gb and the folder /root/.cache/rclone/vfs/OneDrive gets bigger until it fills the whole partition and the OneDrive share gets unmounted, the torrent stops and the system is almost blocked as there is no free space in the / partition
Is there any workaround or solution for this? Now I have to delete the content manually, I tried a reboot and this blocks the booting of Ubuntu and you have to use a livecd boot in order to delete the folder.
The same problem happens when I try to copy from the local to the OneDrive mounted folder a folder of about 20-30 gb.
Do I need a bigger / partition or there is a solution for this to tell rclone not to make a bigger cache than an specified size?
But I have the same problem if I try to copy a folder of 10 files of around 3gb each.
I mean, I understand that while the copy is in process there should be a buffer memory of the size of the file being moved, but once the file is correctly copied to the remote, shouldn’t be that file deleted?
In a copy process that is one file process after another I think this should be the process, in other hand I understand that in a torrent download where several files are being downloaded at the same time this could be problematic and therefore is why you are not recommending to torrent directly to the remote.
Not really. Torrents get downloaded in pieces. That won't work very well here. It'll cause many uploads for a single torrent. Plus when they are being downloaded they are also being read for by others. That will cause many downloads as well. It's just not a great use case. Typically what people do is move the file after complete.