So I tried the union approach but I can't for the life of me write files to the drive without them being upladed instantly.
I even tried disabling the cached drive, but to no avail.
rclone.conf:
[Google]
type = drive
scope = drive
[GoogleEncrypted]
type = crypt
remote = Google:/mounts/p
filename_encryption = standard
directory_name_encryption = true
[GoogleUnion]
type = union
remotes = "GoogleEncrypted:" "N:\Google"
Command:
.\rclone.exe ^
mount GoogleUnion:/ G: ^
--config .\.rclone.conf ^
--fast-list ^
--rc ^
--verbose ^
--stats 1m ^
--allow-other
If I click optimize on a movie in Plex, it starts transferring both the file to be optimized and the optimized file as it is being built.
Shouldn't all files be written directly to my local drive and not to the Google drive at all?
Here's a log of me trying to copy a file to the union drive and afterwards trying to optimize a movie.
2020/03/21 12:22:33 INFO : Using --user XXXX--pass XXXX as authenticated user
2020/03/21 12:22:33 NOTICE: Web GUI exists. Update skipped.
2020/03/21 12:22:33 NOTICE: Serving Web GUI
2020/03/21 12:22:33 NOTICE: Serving remote control on http://[::]:5575/
The service rclone has been started.
2020/03/21 12:23:35 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time: 0.0s
2020/03/21 12:24:06 ERROR : movies/1917 (2019)/Its.Always.Sunny.in.Philadelphia.S13E01.WEBRip.x264-ION10.mp4: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes
2020/03/21 12:24:07 ERROR : movies/1917 (2019)/Its.Always.Sunny.in.Philadelphia.S13E01.WEBRip.x264-ION10.mp4: corrupted on transfer
2020/03/21 12:24:07 ERROR : movies/1917 (2019)/Its.Always.Sunny.in.Philadelphia.S13E01.WEBRip.x264-ION10.mp4: WriteFileHandle.New Rcat failed: corrupted on transfer
2020/03/21 12:24:07 ERROR : movies/1917 (2019)/Its.Always.Sunny.in.Philadelphia.S13E01.WEBRip.x264-ION10.mp4: WriteFileHandle.Flush error: corrupted on transfer
2020/03/21 12:24:07 ERROR : IO error: corrupted on transfer
2020/03/21 12:24:09 ERROR : IO error: can't open file - writer failed
2020/03/21 12:24:09 ERROR : IO error: can't open file - writer failed
2020/03/21 12:24:09 ERROR : IO error: can't open file - writer failed
2020/03/21 12:24:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 7.037 MBytes/s, ETA 0s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 27.842k/s, 1m6s
2020/03/21 12:25:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 2.407 MBytes/s, ETA 0s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 1m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 593/s, 53m16s
2020/03/21 12:26:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 1.452 MBytes/s, ETA 1s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 2m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 12/s, 42h39m58s
2020/03/21 12:27:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 1.039 MBytes/s, ETA 1s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 3m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 2050h14m58s
2020/03/21 12:28:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 828.709 kBytes/s, ETA 2s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 4m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 98521h17m54s
2020/03/21 12:29:35 INFO :
Transferred: 219.469M / 221.278 MBytes, 99%, 678.576 kBytes/s, ETA 2s
Errors: 1 (retrying may help)
Transferred: 3 / 4, 75%
Elapsed time: 5m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 0s
2020/03/21 12:30:35 INFO :
Transferred: 219.593M / 221.402 MBytes, 99%, 574.821 kBytes/s, ETA 3s
Errors: 1 (retrying may help)
Transferred: 4 / 5, 80%
Elapsed time: 6m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 2037468h8m9.779728896s
2020/03/21 12:30:51 INFO : movies/1917 (2019)/Plex Versions/optimized version test 886/dd2a1838-f318-44e3-865a-220bb6a7fcf7: Copied (new)
2020/03/21 12:31:35 INFO :
Transferred: 607.496M / 2.516 GBytes, 24%, 1.346 MBytes/s, ETA 24m22s
Errors: 1 (retrying may help)
Transferred: 7 / 10, 70%
Elapsed time: 7m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 2323082h28m49.526403072s
* movies/1917 (2019)/191…Ray.H264.AAC-RARBG.mp4: 15% /2.267G, 8.574M/s, 3m49s
* movies/1917 (2019)/Ple…ss/1917 (2019).mp4.886: 0% /off, 869.205k/s, -
2020/03/21 12:32:35 INFO :
Transferred: 1.187G / 2.565 GBytes, 46%, 2.378 MBytes/s, ETA 9m53s
Errors: 1 (retrying may help)
Transferred: 7 / 10, 70%
Elapsed time: 8m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 0s
* movies/1917 (2019)/191…Ray.H264.AAC-RARBG.mp4: 39% /2.267G, 9.732M/s, 2m24s
* movies/1917 (2019)/Ple…ss/1917 (2019).mp4.886: 0% /off, 868.480k/s, -
2020/03/21 12:33:35 INFO :
Transferred: 1.682G / 2.613 GBytes, 64%, 3.015 MBytes/s, ETA 5m16s
Errors: 1 (retrying may help)
Transferred: 7 / 10, 70%
Elapsed time: 9m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 0s
* movies/1917 (2019)/191…Ray.H264.AAC-RARBG.mp4: 59% /2.267G, 6.919M/s, 2m17s
* movies/1917 (2019)/Ple…ss/1917 (2019).mp4.886: 0% /off, 777.520k/s, -
2020/03/21 12:34:35 INFO :
Transferred: 2.198G / 2.660 GBytes, 83%, 3.566 MBytes/s, ETA 2m12s
Errors: 1 (retrying may help)
Transferred: 7 / 10, 70%
Elapsed time: 10m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 0s
* movies/1917 (2019)/191…Ray.H264.AAC-RARBG.mp4: 79% /2.267G, 11.196M/s, 42s
* movies/1917 (2019)/Ple…ss/1917 (2019).mp4.886: 0% /off, 869.775k/s, -
2020/03/21 12:35:35 INFO :
Transferred: 2.657G / 2.709 GBytes, 98%, 3.936 MBytes/s, ETA 13s
Errors: 1 (retrying may help)
Transferred: 7 / 10, 70%
Elapsed time: 11m31.1s
Transferring:
* movies/1917 (2019)/Procmon.exe: 37% /2.883M, 0/s, 0s
* movies/1917 (2019)/191…Ray.H264.AAC-RARBG.mp4: 97% /2.267G, 4.951M/s, 10s
* movies/1917 (2019)/Ple…ss/1917 (2019).mp4.886: 0% /off, 874.897k/s, -
2020/03/21 12:35:54 ERROR : movies/1917 (2019)/Plex Versions/optimized version test 886/.inProgress/1917 (2019).mp4.886: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes
2020/03/21 12:35:57 ERROR : movies/1917 (2019)/Plex Versions/optimized version test 886/.inProgress/1917 (2019).mp4.886: corrupted on transfer
2020/03/21 12:35:57 ERROR : movies/1917 (2019)/Plex Versions/optimized version test 886/.inProgress/1917 (2019).mp4.886: WriteFileHandle.New Rcat failed: corrupted on transfer
2020/03/21 12:35:57 ERROR : movies/1917 (2019)/Plex Versions/optimized version test 886/.inProgress/1917 (2019).mp4.886: WriteFileHandle.Flush error: corrupted on transfer
2020/03/21 12:35:57 ERROR : IO error: corrupted on transfer