Rclone mount file content search

What is the problem you are having with rclone?

I cannot search for files by content on my remote mounted through rclone using Windows Search. I've tried to mount the remote as a drive, as a network drive, and as a folder to see if any of those options would enable the checkbox for file contents indexing in the mounted remote's properties; however, the checkbox was missing in all of the cases. In contrast, it is present on local drives and folders:

What is your rclone version (output from rclone version)

rclone v1.56.0
- os/version: Microsoft Windows 10 Pro 2009 (64 bit)
- os/kernel: 10.0.19043.1165 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.16.5
- go/linking: dynamic
- go/tags: cmount

Which cloud storage system are you using? (e.g. Google Drive)

Yandex Disk

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

Mounting as a drive

rclone mount yandex_disk: N: --volname="Yandex Disk" --vfs-cache-mode=full --config="C:\Users\[personal]\AppData\Roaming\rclone\rclone.conf" --option FileSecurity="O:S-1-5-21-1798526134-1596105214-1712954964-1001G:S-1-5-21-1798526134-1596105214-1712954964-513D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-5-21-1798526134-1596105214-1712954964-1001)"

Mounting as a network drive

rclone mount yandex_disk: N: --network-mode --volname="Yandex Disk" --vfs-cache-mode=full --config="C:\Users\[personal]\AppData\Roaming\rclone\rclone.conf" --option FileSecurity="O:S-1-5-21-1798526134-1596105214-1712954964-1001G:S-1-5-21-1798526134-1596105214-1712954964-513D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-5-21-1798526134-1596105214-1712954964-1001)"

Mounting as a folder

rclone mount yandex_disk: "C:\Users\[personal]\Documents\Yandex Disk" --vfs-cache-mode=full --config="C:\Users\[personal]\AppData\Roaming\rclone\rclone.conf" --option FileSecurity="O:S-1-5-21-1798526134-1596105214-1712954964-1001G:S-1-5-21-1798526134-1596105214-1712954964-513D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-5-21-1798526134-1596105214-1712954964-1001)"

The rclone config contents with secrets removed.

[google_drive]
type = drive
client_id = [personal]
client_secret = [personal]
scope = drive
token = [personal]
team_drive = 

[yandex_disk]
type = yandex
token = [personal]

[google_drive_2]
type = drive
client_id = [personal]
client_secret = [personal]
scope = drive
token = [personal]
team_drive = 

A log from the command with the -vv flag

I am including only the "mounting as a drive" case for now, because editing personal information out takes a long time.

2021/08/31 01:56:07 DEBUG : rclone: Version "v1.56.0" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.56.0-windows-amd64\\rclone.exe" "mount" "yandex_disk:" "N:" "--volname=Yandex Disk" "--vfs-cache-mode=full" "--config=C:\\Users\\[personal]\\AppData\\Roaming\\rclone\\rclone.conf" "--option" "FileSecurity=O:S-1-5-21-1798526134-1596105214-1712954964-1001G:S-1-5-21-1798526134-1596105214-1712954964-513D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-5-21-1798526134-1596105214-1712954964-1001)" "-vv"]
2021/08/31 01:56:07 DEBUG : Creating backend with remote "yandex_disk:"
2021/08/31 01:56:07 DEBUG : Using config file from "C:\\Users\\[personal]\\AppData\\Roaming\\rclone\\rclone.conf"
2021/08/31 01:56:08 INFO  : Yandex : poll-interval is not supported by this remote
2021/08/31 01:56:08 DEBUG : vfs cache: root is "\\\\?\\C:\\Users\\[personal]\\AppData\\Local\\rclone\\vfs\\yandex_disk"
2021/08/31 01:56:08 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\[personal]\\AppData\\Local\\rclone\\vfs\\yandex_disk"
2021/08/31 01:56:08 DEBUG : Creating backend with remote "\\\\?\\C:\\Users\\[personal]\\AppData\\Local\\rclone\\vfs\\yandex_disk"
2021/08/31 01:56:08 DEBUG : fs cache: renaming cache item "\\\\?\\C:\\Users\\[personal]\\AppData\\Local\\rclone\\vfs\\yandex_disk" to be canonical "//?/C:/Users/[personal]/AppData/Local/rclone/vfs/yandex_disk"
2021/08/31 01:56:08 DEBUG : fs cache: switching user supplied name "\\\\?\\C:\\Users\\[personal]\\AppData\\Local\\rclone\\vfs\\yandex_disk" for canonical name "//?/C:/Users/[personal]/AppData/Local/rclone/vfs/yandex_disk"
2021/08/31 01:56:08 DEBUG : [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4: vfs cache: truncate to size=302482921
2021/08/31 01:56:08 DEBUG : [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4: vfs cache: setting modification time to 2021-08-18 17:01:31.586903 +0600 +06
2021/08/31 01:56:08 INFO  : [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4: vfs cache: queuing for upload in 5s
2021/08/31 01:56:09 ERROR : [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4: vfs cache: failed to reload item: reload: failed to add virtual dir entry: file does not exist
2021/08/31 01:56:09 DEBUG : Network mode mounting is disabled
2021/08/31 01:56:09 DEBUG : Mounting on "N:" ("Yandex Disk")
2021/08/31 01:56:09 DEBUG : Yandex : Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Yandex Disk" "-o" "FileSecurity=O:S-1-5-21-1798526134-1596105214-1712954964-1001G:S-1-5-21-1798526134-1596105214-1712954964-513D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;S-1-5-21-1798526134-1596105214-1712954964-1001)"]
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/.vscode/dryrun.log: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/.vscode/dryrun.log: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/.vscode/dryrun.log was removed, freed 0 bytes
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/GMT20210816-081157_Recording.txt: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/GMT20210816-081157_Recording.txt: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/GMT20210816-081157_Recording.txt was removed, freed 0 bytes
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/Schedule Fall 2021.png: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/Schedule Fall 2021.png: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/Schedule Fall 2021.png was removed, freed 85483 bytes
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/[personal file 1].mp4: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/[personal file 1].mp4: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/[personal file 1].mp4 was removed, freed 11720680 bytes
2021/08/31 01:56:09 INFO  : ChocolateyPackageListBackup/AllProgramsList.txt: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : ChocolateyPackageListBackup/AllProgramsList.txt: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item ChocolateyPackageListBackup/AllProgramsList.txt was removed, freed 0 bytes
2021/08/31 01:56:09 INFO  : ChocolateyPackageListBackup/packages.config: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : ChocolateyPackageListBackup/packages.config: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item ChocolateyPackageListBackup/packages.config was removed, freed 0 bytes
2021/08/31 01:56:09 INFO  : Noto Serif/NotoSerif-CondensedSemiBoldItalic.ttf: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : Noto Serif/NotoSerif-CondensedSemiBoldItalic.ttf: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Noto Serif/NotoSerif-CondensedSemiBoldItalic.ttf was removed, freed 430940 bytes
2021/08/31 01:56:09 INFO  : Kawkab Mono/KawkabMono-Bold.ttf: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : Kawkab Mono/KawkabMono-Bold.ttf: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Kawkab Mono/KawkabMono-Bold.ttf was removed, freed 265552 bytes
2021/08/31 01:56:09 INFO  : Kawkab Mono/KawkabMono-Regular.ttf: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : Kawkab Mono/KawkabMono-Regular.ttf: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Kawkab Mono/KawkabMono-Regular.ttf was removed, freed 265160 bytes
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/.vscode/configurationCache.log: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/.vscode/configurationCache.log: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/.vscode/configurationCache.log was removed, freed 121 bytes
2021/08/31 01:56:09 INFO  : [personal folder on the mount]/GMT20210818-070219_Recording.txt: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : [personal folder on the mount]/GMT20210818-070219_Recording.txt: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/GMT20210818-070219_Recording.txt was removed, freed 0 bytes
2021/08/31 01:56:09 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4 not removed, freed 0 bytes
2021/08/31 01:56:09 INFO  : Noto Serif/NotoSerif-ExtraCondensedBold.ttf: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : Noto Serif/NotoSerif-ExtraCondensedBold.ttf: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item Noto Serif/NotoSerif-ExtraCondensedBold.ttf was removed, freed 399104 bytes
2021/08/31 01:56:09 INFO  : DJ Gontran - I See You.mp3: vfs cache: removed cache file as Removing old cache file not in use
2021/08/31 01:56:09 DEBUG : DJ Gontran - I See You.mp3: vfs cache: removed metadata from cache as Removing old cache file not in use
2021/08/31 01:56:09 INFO  : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item DJ Gontran - I See You.mp3 was removed, freed 2081853 bytes
2021/08/31 01:56:09 INFO  : vfs cache: cleaned: objects 1 (was 14) in use 1, to upload 1, uploading 0, total size 288.470Mi (was 303.013Mi)
2021/08/31 01:56:09 DEBUG : Yandex : Init:
2021/08/31 01:56:09 DEBUG : Yandex : >Init:
2021/08/31 01:56:09 DEBUG : /: Statfs:
2021/08/31 01:56:09 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:55050240 Bfree:27530569 Bavail:27530569 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Readlink:
2021/08/31 01:56:09 DEBUG : /: >Readlink: linkPath="", errc=-40
The service rclone has been started.
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Opendir:
2021/08/31 01:56:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/31 01:56:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/31 01:56:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Statfs:
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Opendir:
2021/08/31 01:56:09 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:55050240 Bfree:27530569 Bavail:27530569 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2021/08/31 01:56:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/31 01:56:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/31 01:56:09 DEBUG : /: >Opendir: errc=0, fh=0x1
2021/08/31 01:56:09 DEBUG : /: Releasedir: fh=0x0
2021/08/31 01:56:09 DEBUG : /: >Releasedir: errc=0
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Releasedir: fh=0x1
2021/08/31 01:56:09 DEBUG : /: >Releasedir: errc=0
2021/08/31 01:56:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2021/08/31 01:56:09 DEBUG : /: >Getattr: errc=0
2021/08/31 01:56:09 DEBUG : /: Opendir:
2021/08/31 01:56:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2021/08/31 01:56:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2021/08/31 01:56:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2021/08/31 01:56:09 DEBUG : /: Releasedir: fh=0x0
2021/08/31 01:56:09 DEBUG : /: >Releasedir: errc=0
2021/08/31 01:56:13 DEBUG : [personal folder on the mount]/GMT20210818-070219_Recording_2560x1440.mp4: vfs cache: starting upload
The service rclone has been stopped.

hello and welcome to the forum,

with that config file, did you redact/remove the id/secret/token?
if not, please delete that info now!

for example, edit to be this or something similar.
client_id =
token =

Thank you, I updated my post.

good,

keep in mind, that the file system presented by rclone mount is not a full featured file system like local.

this is a recent post where i helped a fellow rcloner with a similar problem
https://forum.rclone.org/t/search-a-file-on-windows-explorer/26169

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