Using apps (games) with symlinked files to rclone remote mount

What is the problem you are having with rclone?

I use dxvk files (used to convert dx11 games to vulkan) symlinked from the game folder to an onedrive mounted folder and the games won't start, if I put the dxvk files locally it works fine, also I used it before with the microsoft onedrive client and it also worked fine but now I want to make it work with rclone.

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.1
- os/version: Microsoft Windows 10 Enterprise LTSC 2021 21H2 (64 bit)
- os/kernel: 10.0.19044.1889 Build 19044.1889.1889 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount

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

Onedrive

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

rclone mount onedrive-4qqn4s: F:\Onedrive\4qqn4s --vfs-cache-mode full -L

The rclone config contents with secrets removed.

[onedrive-4qqn4s]
type = onedrive
token = ***
drive_id = ***
drive_type = business

A log from the command with the -vv flag

C:\Users\elvz>rclone mount onedrive-4qqn4s: F:\Onedrive\4qqn4s --vfs-cache-mode full -L -vv
2023/03/16 23:13:36 DEBUG : rclone: Version "v1.62.1" starting with parameters ["rclone" "mount" "onedrive-4qqn4s:" "F:\\Onedrive\\4qqn4s" "--vfs-cache-mode" "full" "-L" "-vv"]
2023/03/16 23:13:36 DEBUG : Creating backend with remote "onedrive-4qqn4s:"
2023/03/16 23:13:36 DEBUG : Using config file from "C:\\Users\\elvz\\AppData\\Roaming\\rclone\\rclone.conf"
2023/03/16 23:13:38 DEBUG : OneDrive root '': Next delta token is: MzslMjM0OyUyMzE7MztlNDg3NGZmYS04NzViLTQ0ZWQtODY5YS04ZTk2ZjU2NDA3NTA7NjM4MTQ2MTk2MTg5NDAwMDAwOzQzMjI3MTA2MDslMjM7JTIzOyUyMzA
2023/03/16 23:13:38 DEBUG : vfs cache: root is "C:\\Users\\elvz\\AppData\\Local\\rclone"
2023/03/16 23:13:38 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\elvz\\AppData\\Local\\rclone\\vfs\\onedrive-4qqn4s"
2023/03/16 23:13:38 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\elvz\\AppData\\Local\\rclone\\vfsMeta\\onedrive-4qqn4s"
2023/03/16 23:13:38 DEBUG : Creating backend with remote "C:/Users/elvz/AppData/Local/rclone/vfs/onedrive-4qqn4s/"
2023/03/16 23:13:38 DEBUG : local: detected overridden config - adding "{12rtk}" suffix to name
2023/03/16 23:13:38 DEBUG : fs cache: renaming cache item "C:/Users/elvz/AppData/Local/rclone/vfs/onedrive-4qqn4s/" to be canonical "local{12rtk}://?/C:/Users/elvz/AppData/Local/rclone/vfs/onedrive-4qqn4s"
2023/03/16 23:13:38 DEBUG : Creating backend with remote "C:/Users/elvz/AppData/Local/rclone/vfsMeta/onedrive-4qqn4s/"
2023/03/16 23:13:38 DEBUG : local: detected overridden config - adding "{12rtk}" suffix to name
2023/03/16 23:13:38 DEBUG : fs cache: renaming cache item "C:/Users/elvz/AppData/Local/rclone/vfsMeta/onedrive-4qqn4s/" to be canonical "local{12rtk}://?/C:/Users/elvz/AppData/Local/rclone/vfsMeta/onedrive-4qqn4s"
2023/03/16 23:13:38 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item BorderlessGaming9.5.6_admin_setup.exe not removed, freed 0 bytes
2023/03/16 23:13:38 DEBUG : Network mode mounting is disabled
2023/03/16 23:13:38 DEBUG : Mounting on "F:\\Onedrive\\4qqn4s" ("onedrive-4qqn4s")
2023/03/16 23:13:38 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item DesktopBFI.exe not removed, freed 0 bytes
2023/03/16 23:13:38 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dxvk/dxvk-2.1/x64/d3d11.dll not removed, freed 0 bytes
2023/03/16 23:13:38 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dxvk/dxvk-2.1/x64/dxgi.dll not removed, freed 0 bytes
2023/03/16 23:13:38 DEBUG : OneDrive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=onedrive-4qqn4s"]
2023/03/16 23:13:38 INFO  : vfs cache: cleaned: objects 4 (was 4) in use 0, to upload 0, uploading 0, total size 5.886Mi (was 5.886Mi)
2023/03/16 23:13:38 DEBUG : OneDrive root '': Init:
2023/03/16 23:13:38 DEBUG : OneDrive root '': >Init:
2023/03/16 23:13:38 DEBUG : /: Statfs:
2023/03/16 23:13:39 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1342177280 Bfree:1336008783 Bavail:1336008783 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/03/16 23:13:39 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/16 23:13:39 DEBUG : /: >Getattr: errc=0
2023/03/16 23:13:39 DEBUG : /: Readlink:
2023/03/16 23:13:39 DEBUG : /: >Readlink: linkPath="", errc=-40
2023/03/16 23:13:39 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2023/03/16 23:13:39 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2023/03/16 23:13:39 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/16 23:13:39 DEBUG : /: >Getattr: errc=0
2023/03/16 23:13:39 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/16 23:13:39 DEBUG : /: >Getattr: errc=0
2023/03/16 23:13:39 DEBUG : /: Opendir:
2023/03/16 23:13:39 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/03/16 23:13:39 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/03/16 23:13:39 DEBUG : /: >Opendir: errc=0, fh=0x0
2023/03/16 23:13:39 DEBUG : /: Getpath: Getpath fh=0
2023/03/16 23:13:39 DEBUG : /: >Getpath: errc=0, normalisedPath=""
2023/03/16 23:13:39 DEBUG : /: Statfs:
2023/03/16 23:13:39 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1342177280 Bfree:1336008783 Bavail:1336008783 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/03/16 23:13:39 DEBUG : /: Statfs:
2023/03/16 23:13:39 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:1342177280 Bfree:1336008783 Bavail:1336008783 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/03/16 23:13:39 DEBUG : /: Releasedir: fh=0x0
2023/03/16 23:13:39 DEBUG : /: >Releasedir: errc=0
2023/03/16 23:13:42 DEBUG : /dxvk/dxvk-2.1/x64/dxgi.dll: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/16 23:13:42 DEBUG : /dxvk/dxvk-2.1/x64/d3d11.dll: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/03/16 23:13:47 DEBUG : /dxvk/dxvk-2.1/x64/dxgi.dll: >Getattr: errc=0
2023/03/16 23:13:47 DEBUG : /dxvk/dxvk-2.1/x64/d3d11.dll: >Getattr: errc=0
The service rclone has been stopped.
2023/03/16 23:14:04 DEBUG : OneDrive root '': Destroy:
2023/03/16 23:14:04 DEBUG : OneDrive root '': >Destroy:
2023/03/16 23:14:04 DEBUG : Not calling host.Unmount as mount already Destroyed
2023/03/16 23:14:04 DEBUG : Unmounted successfully
2023/03/16 23:14:04 DEBUG : vfs cache: cleaner exiting
2023/03/16 23:14:04 ERROR : F:\Onedrive\4qqn4s: Unmounted rclone mount
2023/03/16 23:14:04 DEBUG : rclone: Version "v1.62.1" finishing with parameters ["rclone" "mount" "onedrive-4qqn4s:" "F:\\Onedrive\\4qqn4s" "--vfs-cache-mode" "full" "-L" "-vv"]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.