What is the problem you are having with rclone?
--cache-dir doesn't work when using rclone mount as service (using nssm) AND cache folder is on a network mounted drive. Couldn't drive anything to the mount.
--cache-dir works fine when running rclone mount as service but cache path is local drive (ex: C:)
--cache-dir works fine when running rclone mount in CMD for both local and network mounted cache folder situations
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windiws 10 64bit
Which cloud storage system are you using? (eg Google Drive)
Gdrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
2019/10/14 00:56:02 DEBUG : rclone: Version "v1.49.5" starting with parameters ["C:\rclone\rclone.exe" "mount" "--allow-other" "--dir-cache-time" "72h" "--drive-chunk-size" "64M" "--vfs-read-chunk-size" "32M" "--vfs-read-chunk-size-limit" "off" "Gdrive-Amanda-En:" "V:" "--config" "C:\Users\tekkenvm\.config\rclone\rclone.conf" "--vfs-cache-mode" "writes" "--log-file" "C:\log\rclone.log" "--cache-dir" "Y:" "--log-level" "DEBUG"]
2019/10/14 00:56:02 DEBUG : Using config file from "C:\Users\tekkenvm\.config\rclone\rclone.conf"
2019/10/14 00:56:03 DEBUG : Encrypted drive 'Gdrive-Amanda-En:': Mounting on "V:"
2019/10/14 00:56:03 DEBUG : vfs cache root is "Y:vfs\Gdrive-Amanda-En"
2019/10/14 00:56:03 DEBUG : Adding path "vfs/forget" to remote control registry
2019/10/14 00:56:03 DEBUG : Adding path "vfs/refresh" to remote control registry
2019/10/14 00:56:03 DEBUG : Adding path "vfs/poll-interval" to remote control registry
2019/10/14 00:56:03 DEBUG : Encrypted drive 'Gdrive-Amanda-En:': Mounting with options: ["-o" "fsname=Gdrive-Amanda-En:" "-o" "subtype=rclone" "-o" "max_readahead=131072" "-o" "attr_timeout=1" "-o" "atomic_o_trunc" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Gdrive-Amanda-En" "-o" "allow_other"]
2019/10/14 00:56:03 DEBUG : Encrypted drive 'Gdrive-Amanda-En:': Init:
2019/10/14 00:56:03 DEBUG : Encrypted drive 'Gdrive-Amanda-En:': >Init:
2019/10/14 00:56:03 DEBUG : /: Statfs:
2019/10/14 00:56:03 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274842792824 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
...
2019/10/14 00:56:44 DEBUG : /System Volume Information: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /System Volume Information: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /EasyStore02: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /EasyStore02: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /: Releasedir: fh=0x0
2019/10/14 00:56:44 DEBUG : /: >Releasedir: errc=0
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /: Opendir:
2019/10/14 00:56:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/10/14 00:56:44 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/14 00:56:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Getattr: errc=-2
2019/10/14 00:56:44 DEBUG : /: Releasedir: fh=0x0
2019/10/14 00:56:44 DEBUG : /: >Releasedir: errc=0
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Create: flags=0x502, mode=0700
2019/10/14 00:56:44 DEBUG : vhui64.exe: Open: flags=O_RDWR|O_CREATE|O_EXCL
2019/10/14 00:56:44 ERROR : vhui64.exe: File.openRW failed: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : vhui64.exe: >Open: fd=<nil *RWFileHandle>, err=open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 ERROR : IO error: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Create: errc=-5, fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /: Opendir:
2019/10/14 00:56:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/10/14 00:56:44 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/14 00:56:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Getattr: errc=-2
2019/10/14 00:56:44 DEBUG : /: Releasedir: fh=0x0
2019/10/14 00:56:44 DEBUG : /: >Releasedir: errc=0
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Create: flags=0x502, mode=0700
2019/10/14 00:56:44 DEBUG : vhui64.exe: Open: flags=O_RDWR|O_CREATE|O_EXCL
2019/10/14 00:56:44 ERROR : vhui64.exe: File.openRW failed: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : vhui64.exe: >Open: fd=<nil *RWFileHandle>, err=open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 ERROR : IO error: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Create: errc=-5, fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /: Opendir:
2019/10/14 00:56:44 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2019/10/14 00:56:44 DEBUG : /: >OpenFile: fd=/ (r), err=
2019/10/14 00:56:44 DEBUG : /: >Opendir: errc=0, fh=0x0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Getattr: errc=-2
2019/10/14 00:56:44 DEBUG : /: Releasedir: fh=0x0
2019/10/14 00:56:44 DEBUG : /: >Releasedir: errc=0
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /vhui64.exe: Create: flags=0x502, mode=0700
2019/10/14 00:56:44 DEBUG : vhui64.exe: Open: flags=O_RDWR|O_CREATE|O_EXCL
2019/10/14 00:56:44 ERROR : vhui64.exe: File.openRW failed: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : vhui64.exe: >Open: fd=<nil *RWFileHandle>, err=open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 ERROR : IO error: open RW handle failed to make cache directory: make cache directory failed: mkdir Y:vfs: The system cannot find the path specified.
2019/10/14 00:56:44 DEBUG : /vhui64.exe: >Create: errc=-5, fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0
2019/10/14 00:56:44 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2019/10/14 00:56:44 DEBUG : /: >Getattr: errc=0