Rclone with Remote S3

What is the problem you are having with rclone?

I am testing rclone product to mount an S3 bucket as a drive on Windows PC. I am getting a successful message that rclone has started, however it is not displaying the mounted drive.

.\rclone mount demo-obubkt:demo-obubkt/ S: --vfs-cache-mode full
The service rclone has been started.

version - v1.68.1
Windows 11 Enterprise
gdr -PSProvider 'FileSystem' is not showing the S drive.

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

PS C:\rclone> rclone version
rclone v1.68.1

  • os/version: Microsoft Windows 11 Enterprise 23H2 (64 bit)
  • os/kernel: 10.0.22631.4317 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: cmount

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

AWS S3

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

.\rclone mount demo-obubkt:demo-obubkt/ S: --vfs-cache-mode full

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Double check the config for sensitive info before posting publicly

PS C:\rclone>

PS C:\rclone> rclone config redacted
[demo-obubkt]
type = s3
provider = AWS
access_key_id = XXX
secret_access_key = XXX
region = eu-west-2
location_constraint = eu-west-2
server_side_encryption = AES256
storage_class = STANDARD

A log from the command that you were trying to run with the -vv flag

.\rclone mount demo-obubkt:demo-obubkt/ S: --vfs-cache-mode full -vv
2024/10/24 12:32:09 DEBUG : rclone: Version "v1.68.1" starting with parameters ["C:\\rclone\\rclone.exe" "mount" "demo-obubkt:demo-obubkt/" "S:" "--vfs-cache-mode" "full" "-vv"]
2024/10/24 12:32:09 DEBUG : Creating backend with remote "demo-obubkt:demo-obubkt/"
2024/10/24 12:32:09 DEBUG : Using config file from "C:\\Users\\user-admin\\AppData\\Roaming\\rclone\\rclone.conf"
2024/10/24 12:32:09 DEBUG : fs cache: renaming cache item "demo-obubkt:demo-obubkt/" to be canonical "demo-obubkt:demo-obubkt"
2024/10/24 12:32:09 INFO  : S3 bucket demo-obubkt: poll-interval is not supported by this remote
2024/10/24 12:32:09 DEBUG : vfs cache: root is "C:\\Users\\user-admin\\AppData\\Local\\rclone"
2024/10/24 12:32:09 DEBUG : vfs cache: data root is "\\\\?\\C:\\Users\\user-admin\\AppData\\Local\\rclone\\vfs\\demo-obubkt\\demo-obubkt"
2024/10/24 12:32:09 DEBUG : vfs cache: metadata root is "\\\\?\\C:\\Users\\user-admin\\AppData\\Local\\rclone\\vfsMeta\\demo-obubkt\\demo-obubkt"
2024/10/24 12:32:09 DEBUG : Creating backend with remote ":local,encoding='Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot':C:/Users/user-admin/AppData/Local/rclone/vfs/demo-obubkt/demo-obubkt"
2024/10/24 12:32:09 DEBUG : :local: detected overridden config - adding "{fbZPM}" suffix to name
2024/10/24 12:32:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot':C:/Users/user-admin/AppData/Local/rclone/vfs/demo-obubkt/demo-obubkt" to be canonical ":local{fbZPM}://?/C:/Users/user-admin/AppData/Local/rclone/vfs/demo-obubkt/demo-obubkt"
2024/10/24 12:32:09 DEBUG : Creating backend with remote ":local,encoding='Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot':C:/Users/user-admin/AppData/Local/rclone/vfsMeta/demo-obubkt/demo-obubkt"
2024/10/24 12:32:09 DEBUG : :local: detected overridden config - adding "{fbZPM}" suffix to name
2024/10/24 12:32:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot':C:/Users/user-admin/AppData/Local/rclone/vfsMeta/demo-obubkt/demo-obubkt" to be canonical ":local{fbZPM}://?/C:/Users/user-admin/AppData/Local/rclone/vfsMeta/demo-obubkt/demo-obubkt"
2024/10/24 12:32:09 DEBUG : Network mode mounting is disabled
2024/10/24 12:32:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/10/24 12:32:09 DEBUG : Mounting on "S:" ("demo-obubkt demo-obubkt")
2024/10/24 12:32:09 DEBUG : S3 bucket demo-obubkt: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=demo-obubkt demo-obubkt"]
2024/10/24 12:32:09 DEBUG : S3 bucket demo-obubkt: Init:
2024/10/24 12:32:09 DEBUG : S3 bucket demo-obubkt: >Init:
2024/10/24 12:32:09 DEBUG : /: Statfs:
2024/10/24 12:32:09 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
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Readlink:
2024/10/24 12:32:09 DEBUG : /: >Readlink: linkPath="", errc=-40
2024/10/24 12:32:09 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2024/10/24 12:32:09 DEBUG : /: >Getxattr: errc=-40, value=""
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
The service rclone has been started.
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Opendir:
2024/10/24 12:32:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/10/24 12:32:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/10/24 12:32:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Statfs:
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 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
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: Releasedir: fh=0x0
2024/10/24 12:32:09 DEBUG : /: >Releasedir: errc=0
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Opendir:
2024/10/24 12:32:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/10/24 12:32:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/10/24 12:32:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/10/24 12:32:09 DEBUG : /: Releasedir: fh=0x0
2024/10/24 12:32:09 DEBUG : /: >Releasedir: errc=0
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Opendir:
2024/10/24 12:32:09 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/10/24 12:32:09 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/10/24 12:32:09 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/10/24 12:32:09 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/10/24 12:32:09 DEBUG : /: >Getattr: errc=0
2024/10/24 12:32:09 DEBUG : /: Releasedir: fh=0x0
2024/10/24 12:32:09 DEBUG : /: >Releasedir: errc=0
2024/10/24 12:33:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/10/24 12:34:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/10/24 12:35:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2024/10/24 12:36:09 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

welcome to the forum,

there can be issues with accessing mounts using drive letters, let's do some basic testing.

  • try accessing the mount from windows explorer.
  • open two command prompts, one with admin privileges and one without admin privileges.
  • mount to folder, not a drive letter.

Thank you for the response.
Further observations,
Installed the application using local admin user account. Tried the mount command on PowerShell- Run as admin(local admin user account) - It shows the result that "The service rclone has been started." However I was not able to see the Network drive.
Logged in to the machine as a local admin user and repeated the command from PowerShell, and it worked and I am able to access it on Windows explorer.

How do we allow other users of the machine to access the drive when they login.

I have added the command to mount it on Startup, (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp) however when the user doesn't have admin privileges the mount drive is not visible.

It would be great if non-admin users could access the drive once it is mounted on the Startup.

How do we facilitate this?

  • mount to folder, not a drive letter.

that is what i prefer to do. check the rclone docs.

mounting to a folder, both, admin and non-admin, should be able to see the folder.
i prefer task scheduler, than Startup.

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