Google drives not showing in union

What is the problem you are having with rclone?

The union only shows files from local folders and not GD mounts regardless of what order I list them in the config file.

The GD mounts work as expected on their own.

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

rclone v1.61.0

  • os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
  • os/kernel: 10.0.19044.2364 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: cmount

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)

mount TV-Union:\ T:\ --log-level DEBUG --log-file C:\Rclone\rclone-UnionTV.log 

The rclone config contents with secrets removed.

[TV-Union]
type = union
upstreams = \\socks\tv DCT-secret:/tv Owen-secret:/tv

[Owen]
type = drive
client_id = 
client_secret = 
scope = drive
token = 
team_drive =
root_folder_id = 
server_side_across_configs = true
stop_on_upload_limit = true
stop_on_download_limit = true

[DCT]
type = drive
client_id = 
client_secret = 
scope = drive
token = 
team_drive = 
root_folder_id = 
server_side_across_configs = true
stop_on_upload_limit = true
stop_on_download_limit = true

A log from the command with the -vv flag

2022/12/27 13:49:08 DEBUG : rclone: Version "v1.61.0" starting with parameters ["C:\\Rclone\\rclone.exe" "mount" "TV-Union:\\" "T:\\" "--log-level" "DEBUG" "--log-file" "C:\\Rclone\\rclone-UnionTV.log"]
2022/12/27 13:49:08 DEBUG : Creating backend with remote "TV-Union:\\"
2022/12/27 13:49:08 DEBUG : Using config file from "C:\\Rclone\\rclone.conf"
2022/12/27 13:49:08 DEBUG : Creating backend with remote "Owen-secret:/tv"
2022/12/27 13:49:08 DEBUG : Creating backend with remote "DCT-secret:/tv"
2022/12/27 13:49:08 DEBUG : Creating backend with remote "//socks/tv"
2022/12/27 13:49:09 DEBUG : fs cache: renaming cache item "//socks/tv" to be canonical "//?/UNC/socks/tv"
2022/12/27 13:49:09 DEBUG : fs cache: switching user supplied name "//socks/tv" for canonical name "//?/UNC/socks/tv"
2022/12/27 13:49:09 DEBUG : Creating backend with remote "DCT:Encrypted/i1t7dau50a1vaamrj44o1s0kck"
2022/12/27 13:49:09 DEBUG : Creating backend with remote "Owen:Encrypted/i1t7dau50a1vaamrj44o1s0kck"
2022/12/27 13:49:10 DEBUG : union root '': actionPolicy = *policy.EpAll, createPolicy = *policy.EpMfs, searchPolicy = *policy.FF
2022/12/27 13:49:10 DEBUG : fs cache: renaming cache item "TV-Union:\\" to be canonical "TV-Union:"
2022/12/27 13:49:10 INFO  : union root '': poll-interval is not supported by this remote
2022/12/27 13:49:10 DEBUG : Network mode mounting is disabled
2022/12/27 13:49:10 DEBUG : Mounting on "T:" ("TV-Union")
2022/12/27 13:49:10 DEBUG : union root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=TV-Union"]
2022/12/27 13:49:10 DEBUG : union root '': Init: 
2022/12/27 13:49:10 DEBUG : union root '': >Init: 
2022/12/27 13:49:10 DEBUG : /: Statfs: 
2022/12/27 13:49:10 DEBUG : Google drive root 'Encrypted/i1t7dau50a1vaamrj44o1s0kck': read info from Shared Drive "Media"
2022/12/27 13:49:10 DEBUG : Google drive root 'Encrypted/i1t7dau50a1vaamrj44o1s0kck': read info from Shared Drive "Video"
2022/12/27 13:49:10 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Readlink: 
2022/12/27 13:49:10 DEBUG : /: >Readlink: linkPath="", errc=-40
2022/12/27 13:49:10 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2022/12/27 13:49:10 DEBUG : /: >Getxattr: errc=-40, value=""
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Opendir: 
2022/12/27 13:49:10 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/12/27 13:49:10 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/12/27 13:49:10 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/12/27 13:49:10 DEBUG : /: Statfs: 
2022/12/27 13:49:10 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Opendir: 
2022/12/27 13:49:10 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/12/27 13:49:10 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/12/27 13:49:10 DEBUG : /: >Opendir: errc=0, fh=0x1
2022/12/27 13:49:10 DEBUG : /: Releasedir: fh=0x0
2022/12/27 13:49:10 DEBUG : /: >Releasedir: errc=0
2022/12/27 13:49:10 DEBUG : /: Releasedir: fh=0x1
2022/12/27 13:49:10 DEBUG : /: >Releasedir: errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2022/12/27 13:49:10 DEBUG : /: >Getattr: errc=0
2022/12/27 13:49:10 DEBUG : /: Opendir: 
2022/12/27 13:49:10 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2022/12/27 13:49:10 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2022/12/27 13:49:10 DEBUG : /: >Opendir: errc=0, fh=0x0
2022/12/27 13:49:10 DEBUG : /: Releasedir: fh=0x0
2022/12/27 13:49:10 DEBUG : /: >Releasedir: errc=0


If you rclone lsf DCT-secret:/tv do you see the files you are expecting?

I figured it would be something simple...

Once I changed it to DCT-Secret:TV/ and restarted the service it worked.

Thank you very much for your help and this great product!

1 Like

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