# Radarr and rclone mount

**URL:** <https://forum.rclone.org/t/radarr-and-rclone-mount/11027>\
**Category:** Help and Support\
**Created:** [July 27, 2019, 7:43pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027 "2019-07-27T19:43:48Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 6:41pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/21 "2019-07-29T18:41:46Z")

</div>

> [@athelmil](#):
>
> rclone mount crypt: /gsuite -vv --allow-other --buffer-size 1G --dir-cache-time 72h --drive-chunk-size 128M --umask 002 --vfs-read-chunk-size 512M --vfs-read-chunk-size-limit off --vfs-cache-mode writes --cache-dir /cache

You can just use that above as you had posted and leave the others out as the defaults are good.

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 6:43pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/22 "2019-07-29T18:43:29Z")

</div>

perfect. ill test it out and report back 👍

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:29pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/23 "2019-07-29T19:29:31Z")

</div>

well. the cache itself is working. except now its creating both the final file and a partial and uploading both to gdrive. Im starting to think this is a sonarr/radarr issue. ive been considering doing a setup like yours.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 7:30pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/24 "2019-07-29T19:30:17Z")

</div>

In your /cache dir, what does ls -al show?

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:32pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/25 "2019-07-29T19:32:21Z")

</div>

vfs/crypt/Movies/

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:32pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/26 "2019-07-29T19:32:48Z")

</div>

```auto
total 12K
drwxr-xr-x 3 root root 4.0K Jul 29 20:52 .
drwxr-xr-x 26 athelmil athelmil 4.0K Jul 29 20:51 ..
drwx------ 3 root root 4.0K Jul 29 20:52 vfs
```

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 7:33pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/27 "2019-07-29T19:33:59Z")

</div>

Sorry as I actually wanted to walk down it and see what's there:

ls -alR /cache

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:34pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/28 "2019-07-29T19:34:36Z")

</div>

wait. actually it worked this time. i think last time it fucked up because i interuppted it. let me test one more movie

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 7:35pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/29 "2019-07-29T19:35:30Z")

</div>

No problem.

If you see two files in the /cache directory, that would make sense as it would be 2 uploads. That's what I was trying to see.

If you see 1 file in the /cache (assuming you didn't wait an hour for the cache to expire), we should be good.

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:37pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/30 "2019-07-29T19:37:45Z")

</div>

yupp. im doing another run. i am noticing though even with this its still uloading a chunk of it then it downloads and uploads again. at least this way though its significantly less bandwidth

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:45pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/31 "2019-07-29T19:45:47Z")

</div>

i think my grafana is mis-reporting something. i downloaded a 4.5 GB file. grafana chart is reporting multiple spikes for upload and download. but total bandwidth is about 4.8 down and 4.8 upload. so im marking this as a win?

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:47pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/32 "2019-07-29T19:47:50Z")

</div>

[https://gyazo.com/37903b5783fbf10e84da7cfa2162e127](https://gyazo.com/37903b5783fbf10e84da7cfa2162e127)

initial spike is the initial download. it shows it uploading then it stops, downloads a bunch and then finishes the upload. but the total used bandwidth looks about right. so yeah unless the cache is somehow reporting via network grafana vs disk usage?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 7:55pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/33 "2019-07-29T19:55:58Z")

</div>

I'm not sure as that would depend on how you setup grafana to do the bandwidth.

The goal for me would be to see if there are 2 files in the cache and if there is just 1, you are good.

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 7:57pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/34 "2019-07-29T19:57:25Z")

</div>

yupp one file in cache one file in remote. so i think its all good. Also not my grafana setup. i use Quickbox 😛

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 29, 2019, 9:42pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/35 "2019-07-29T21:42:55Z")

</div>

so oddly im trying to add all of this to my service file and im getting a weird error.

```auto
   Loaded: loaded (/etc/systemd/system/rclone.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Jul 29 22:59:22 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:11: Unknown lvalue '--cache-dir' in section 'Service'
Jul 29 22:59:22 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:10: Ignoring unknown escape sequences: "\"
Jul 29 22:59:22 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:11: Unknown lvalue '--cache-dir' in section 'Service'
Jul 29 22:59:26 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:10: Ignoring unknown escape sequences: "\"
Jul 29 22:59:26 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:11: Unknown lvalue '--cache-dir' in section 'Service'
Jul 29 23:00:29 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:10: Ignoring unknown escape sequences: "\"
Jul 29 23:00:29 Ubuntu-1804-bionic-64-minimal systemd[1]: /etc/systemd/system/rclone.service:11: Missing '='.
Jul 29 23:05:03 Ubuntu-1804-bionic-64-minimal systemd[1]: Started Google Drive (rclone).
Jul 29 23:31:52 Ubuntu-1804-bionic-64-minimal systemd[1]: Stopping Google Drive (rclone)...
Jul 29 23:31:52 Ubuntu-1804-bionic-64-minimal systemd[1]: Stopped Google Drive (rclone).

```

but when i run it via the mount command everything runs just fine

```auto
[Unit]
Description=Google Drive (rclone)
AssertPathIsDirectory=/gsuite
Wants=network-online.target
After=network-online.target
 
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount crypt: /gsuite \
        --config=/root/.config/rclone/rclone.conf \
        --allow-other \
        --buffer-size 4G \
        --dir-cache-time 72h \
        --drive-chunk-size 128M \
        --umask 002 \
        --vfs-read-chunk-size 512M \
        --vfs-read-chunk-size-limit off \
        --vfs-cache-mode writes \
        --cache-dir=/home/athelmil/Cache
ExecStop=/bin/fusermount -u /gsuite
Restart=always
RestartSec=10
 
[Install]
WantedBy=default.target

```

maybe you can see what im doing wrong \>.\>

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [July 29, 2019, 11:31pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/36 "2019-07-29T23:31:12Z")

</div>

> [@athelmil](#):
>
> --cache-dir=/home/athelmil/Cache

make it:

```auto
--cache-dir /home/athelmil/Cache

```

I believe.

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 30, 2019, 12:39am UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/37 "2019-07-30T00:39:48Z")

</div>

Yeah I tried that as well. Different error. Not home atm I'll post that asap

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [July 30, 2019, 9:21am UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/38 "2019-07-30T09:21:15Z")

</div>

Check there aren't any spaces after the `\` at the end of the lines.

That error means that somehow systemd thinks that `--cache-dir` is starting a new line

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 30, 2019, 9:22am UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/39 "2019-07-30T09:22:16Z")

</div>

hey its you! ive ditched this at this point. and im adopting animosity's config. ive been meaning to but havent had a reason to do so. well i got one 😃

---

<div class="post-metadata">

**Author:** ![athelmil](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@athelmil](https://forum.rclone.org/u/athelmil)\
**Post date:** [July 30, 2019, 7:38pm UTC](https://forum.rclone.org/t/radarr-and-rclone-mount/11027/40 "2019-07-30T19:38:06Z")

</div>

yeah i finally took the plunge and copied your setup dude. I was tired of dealing with it my way anyways. Thanks for all the help

[Previous page](https://forum.rclone.org/t/radarr-and-rclone-mount/11027.md?page=1)

[Next page](https://forum.rclone.org/t/radarr-and-rclone-mount/11027.md?page=3)
