Skip to content

rclone mount on cached remote does not work in daemon mode #3121

Open

Description

@nitingupta910

What is the problem you are having with rclone?

  • create a google drive remote: remote
  • create a cached remote pointing to the above remote:remote-cache -> gdrive:/
  • rclone mount remote-cache:/ ~/GDrive [works]
  • rclone mount remote-cache:/ ~/GDrive --daemon [no error from mount cmd but ~/GDrive is empty. /proc/mounts does not show this mount, so rclone probably just silently failed]

What is your rclone version (output from rclone version)

rclone v1.47.0
- os/arch: linux/amd64
- go version: go1.12.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 18.04.2 LTS

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount remote-cache:/ ~/GDrive --daemon

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

$ rclone mount remote-cache:/ /home/ngupta/GDrive --daemon -vvv
2019/04/19 09:52:17 DEBUG : rclone: Version "v1.47.0" starting with parameters ["rclone" "mount" "remote-cache:/" "/home/ngupta/GDrive" "--daemon" "-vvv"]
2019/04/19 09:52:17 DEBUG : Using config file from "/home/ngupta/.config/rclone/rclone.conf"
2019/04/19 09:52:17 DEBUG : remote-cache: wrapped remote: at root
2019/04/19 09:52:17 INFO  : remote-cache: Cache DB path: /home/ngupta/.cache/rclone/cache-backend/remote-cache.db
2019/04/19 09:52:17 INFO  : remote-cache: Cache chunk path: /home/ngupta/.cache/rclone/cache-backend/remote-cache
2019/04/19 09:52:17 INFO  : remote-cache: Chunk Memory: true
2019/04/19 09:52:17 INFO  : remote-cache: Chunk Size: 5M
2019/04/19 09:52:17 INFO  : remote-cache: Chunk Total Size: 10G
2019/04/19 09:52:17 INFO  : remote-cache: Chunk Clean Interval: 1m0s
2019/04/19 09:52:17 INFO  : remote-cache: Workers: 4
2019/04/19 09:52:17 INFO  : remote-cache: File Age: 6h0m0s
2019/04/19 09:52:17 INFO  : remote-cache: Upload Temp Rest Time: 15s
2019/04/19 09:52:17 INFO  : remote-cache: Upload Temp FS: /home/ngupta/.cache/rclone/upload
2019/04/19 09:52:17 DEBUG : Adding path "cache/expire" to remote control registry
2019/04/19 09:52:17 DEBUG : Adding path "cache/stats" to remote control registry
2019/04/19 09:52:17 DEBUG : Adding path "cache/fetch" to remote control registry
2019/04/19 09:52:17 DEBUG : rclone: Version "v1.47.0" finishing with parameters ["rclone" "mount" "remote-cache:/" "/home/ngupta/GDrive" "--daemon" "-vvv"]
2019/04/19 09:52:18 DEBUG : Cache remote remote-cache:: Services stopped
``

Activity

  1. added this to the Known Problem milestone on May 13, 2019
  2. ncw commented on May 13, 2019

    @ncw
    Member

    This is unfortunate... It is to do with the initialization order. --daemon needs to be processed much earlier before the backends have initialized. However the mount command runs daemon after the mounts has initialized.

    This is a related problem #2618

  3. ivandeex commented on Oct 29, 2020

    @ivandeex
    Member

    related issue #2968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions