I'm using rclone to sync files to Jottacloud and have noticed that when syncing files, rclone puts them in tmp first. Now I'm transferring several large files which results in tmp filling up and since other services are dependant on the drive where tmp resides, these services start to crash.
Took me a good while to even find these tmp files since they don't show up in any other way except with:
lsof -s | grep 'deleted
rclone 17423 root 23u REG 0,44 206G 49050 /mnt/SSD/tmp/rclone-jcmd5-692059085 (deleted)
rclone 17423 root 24u REG 0,44 75G 48731 /mnt/SSD/tmp/rclone-jcmd5-613371592 (deleted)
rclone 17423 root 25u REG 0,44 115G 48352 /mnt/SSD/tmp/rclone-jcmd5-715811207 (deleted)
These files will no doubt disappear when the sync finishes and the rclone sync command exits but syncing 400GB of files will take a good while and seeing as the system becomes pretty much unusable during that time and I have to kill the sync, I'm pretty much in a catch 22.
My sync command is:
rclone sync --exclude stuff/** --exclude "/other stuff/**" --log-file $LOG_PATH/jc_sync_$DATE.log --log-level INFO --modify-window 3601s --transfers 6 /mnt/HDD/Storage/Backup jc-crypt:/Backup
Is there something I can do to prevent this from happening?