# Is this mount command OK?

**URL:** <https://forum.rclone.org/t/is-this-mount-command-ok/9974>\
**Category:** Help and Support\
**Created:** [May 14, 2019, 5:11pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974 "2019-05-14T17:11:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 5:11pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/1 "2019-05-14T17:11:47Z")

</div>

Hi,

I currently use Rclone to mount my Google drive to use with Plex, this is the command I use:

rclone mount --allow-other --allow-non-empty --dir-cache-time 48h --vfs-cache-max-age 48h --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 4G --buffer-size 0M --umask 002 --cache-db-purge drive: /mnt/drive &

Videos load up quick but I do have a strange issue of that sometimes after 20 minutes the videos just stop and go back to the movie information screen but when I hit play it starts playing again?

Just wanted to make sure I am using a correct mount command.

Thanks.

---

<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:** [May 14, 2019, 5:57pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/2 "2019-05-14T17:57:29Z")

</div>

You have some things in there that don’t matter as I think you are using the cache backend?

Allow-non-Empty allows for over mounting and hides things. I avoid like the plague.

Any of the VFS options aren’t needed if you are using the cache.

If you out the mount in debug with -vv and share the log when the error happens, we can see if rclone is the issue.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:08pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/3 "2019-05-14T18:08:22Z")

</div>

> [@fayraz](#):
>
> rclone mount --allow-other --allow-non-empty --dir-cache-time 48h --vfs-cache-max-age 48h --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 4G --buffer-size 0M --umask 002 --cache-db-purge drive: /mnt/drive &

rclone mount --allow-other --dir-cache-time 48h --vfs-cache-max-age 48h --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 4G --buffer-size 0M --umask 002 --cache-db-purge -vv drive: /mnt/drive &

Shall I mount it like this? I have removed 'allow-non-empty' and added '-vv' at the end.

---

<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:** [May 14, 2019, 6:16pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/4 "2019-05-14T18:16:10Z")

</div>

> [@fayraz](#):
>
> --vfs-cache-max-age 48h --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 4G

If you are using the cache backend, all that stuff is not needed.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:16pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/5 "2019-05-14T18:16:40Z")

</div>

Sorry forgot to mention I am not using a cache drive.

---

<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:** [May 14, 2019, 6:17pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/6 "2019-05-14T18:17:18Z")

</div>

> [@fayraz](#):
>
> --cache-db-purge

isn't needed as I would still remove all those items as the defaults are better values.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:19pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/7 "2019-05-14T18:19:42Z")

</div>

So if I remove the VFS options it will just use the default VFS values?

---

<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:** [May 14, 2019, 6:22pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/8 "2019-05-14T18:22:18Z")

</div>

> [@fayraz](#):
>
> rclone mount --allow-other --dir-cache-time 48h drive: /mnt/drive &

is just about all you need.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:25pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/9 "2019-05-14T18:25:11Z")

</div>

So does that still cache data locally?

---

<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:** [May 14, 2019, 6:26pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/10 "2019-05-14T18:26:16Z")

</div>

The cache backend is the only thing that stores thing locally.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:27pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/11 "2019-05-14T18:27:14Z")

</div>

Do you think it's worth creating a cache backend?

---

<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:** [May 14, 2019, 6:28pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/12 "2019-05-14T18:28:18Z")

</div>

Me personally? No, I have no use case for it. Depends on what you are doing/trying to achieve.

I stream Plex for my major use case and folks rarely play the same thing again so keeping anything local makes no sense for me.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:36pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/13 "2019-05-14T18:36:29Z")

</div>

Me and about 4 people are just streaming using Plex.

If you think that will suffice I will just use what you said.

---

<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:** [May 14, 2019, 6:37pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/14 "2019-05-14T18:37:34Z")

</div>

Should be just fine for that.

Make sure you setup your own client ID/API key if you haven't.

[https://rclone.org/drive/#making-your-own-client-id](https://rclone.org/drive/#making-your-own-client-id)

That helps more than just about anything else you could possibly do.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 14, 2019, 6:39pm UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/15 "2019-05-14T18:39:30Z")

</div>

Thanks for the info Animosity022, really appreciate it.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 15, 2019, 6:16am UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/16 "2019-05-15T06:16:24Z")

</div>

> [@Animosity022](#):
>
> rclone mount --allow-other --dir-cache-time 48h drive: /mnt/drive &

I tried the above command but almost immediately everything just slowed down and stopped loading. When I ran the command - 'rclone lsd drive:', it complained about exceeding GoogleAPI limit but when I ran it again it showed my directories.

I don't think I went over my limit:

 ![2019-05-15](https://forum.rclone.org/uploads/default/original/2X/6/61fc43e72781271be2b280b8031b0556e7522a08.png)

When I changed back to my original mount command it was same thing slow loading/not loading at all.

I unmounted using the command 'fusermount -u /path/to/drive' is this correct to unmount because it looked like it was loading back up when I ran my original mount? Can I see which mount I am using?

EDIT:

Just tried the rclone lsd drive: command again and this is the error that pops up:

> 2019/05/15 08:27:33 ERROR : : error listing: couldn't list directory: googleapi: Error 429: Rate Limit Exceeded, rateLimitExceeded  
> 2019/05/15 08:27:33 Failed to lsd: couldn't list directory: googleapi: Error 429: Rate Limit Exceeded, rateLimitExceeded

Edit: Just seen other people are having same issue with this error on the Rclone forum.

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 16, 2019, 3:21am UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/17 "2019-05-16T03:21:00Z")

</div>

I have written this in the main 429 error thread but I think it will get lost in there.

Basically I have mounted by Rclone with the user string but even though every now loads OK through Plex randomly after about 20 mins things freeze and I have to restart Plex to get it working again and I still see 40-60% errors on my API graph. Do people still see errors?

---

<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:** [May 16, 2019, 3:23am UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/18 "2019-05-16T03:23:20Z")

</div>

Nope. No errors since adding the useragent string for me:

 ![image](https://forum.rclone.org/uploads/default/original/2X/6/693a0d2d2428d9f711eadcec001b1de2fa763770.png)

I'm in the US if that matters.

My mount is just this:

```auto
felix 4466 1 1 07:15 ? 00:19:02 /usr/bin/rclone mount gcrypt: /GD --allow-other --dir-cache-time 96h --log-level INFO --log-file /opt/rclone/logs/rclone.log --timeout 1h --umask 002 --user-agent someappname --rc

```

---

<div class="post-metadata">

**Author:** ![fayraz](https://forum.rclone.org/letter_avatar_proxy/v4/letter/f/e19adc/32.png) [@fayraz](https://forum.rclone.org/u/fayraz)\
**Post date:** [May 16, 2019, 3:33am UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/19 "2019-05-16T03:33:54Z")

</div>

Hmm...this is the mount command I am using basically what you suggested earlier on but with the user string:

rclone mount --allow-other --dir-cache-time 48h --log-level INFO --log-file /home/seed/logs/rclone.log videodrive: /mnt/videodrive --user-agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36': &

---

<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:** [May 16, 2019, 3:36am UTC](https://forum.rclone.org/t/is-this-mount-command-ok/9974/20 "2019-05-16T03:36:10Z")

</div>

Are you sure it's actually picking up the user-agent setting and some old process isn't running?

You can check with a ps -ef | grep rclone

and see what it is running as.

[Next page](https://forum.rclone.org/t/is-this-mount-command-ok/9974.md?page=2)
