Rclone mount - does it take up disk space or not?

What is the problem you are having with rclone?

I am a new rclone user, and I tested it out today by mounting my iDrive onto my C drive. When I went to my "This PC" folder and looked at how much storage I have available, there didn't seem to be any change in available disk space. However, when I went into the folder where I mounted the remote drive, I highlighted the files that were mounted, and saw that they take up 1+ GB of disk space. I am a little confused - does this take up disk space or not? I am planning to mount a remote drive of 1TB of files, and I want to be sure my C drive can handle it.

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

rclone v1.68.1
- os/version: Microsoft Windows 11 Home 23H2 (64 bit)
- os/kernel: 10.0.22631.4169 (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)

iDrive

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

rclone mount Media:movies C:/Users/bvthe/Videos/Jellyfin

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

[Media]
type = s3
provider = IDrive
acl = public-read-write
access_key_id = XXX
secret_access_key = XXX
bucket_acl = public-read-write
endpoint = s6t6.va.idrivee2-60.com
### Double check the config for sensitive info before posting publicly

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

2024/09/29 00:02:23 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "mount" "Media:movies" "C:/Users/bvthe/Videos/Jellyfin" "-vv"]
2024/09/29 00:02:23 DEBUG : Creating backend with remote "Media:movies"
2024/09/29 00:02:23 DEBUG : Using config file from "C:\\Users\\bvthe\\AppData\\Roaming\\rclone\\rclone.conf"
2024/09/29 00:02:23 INFO  : S3 bucket movies: poll-interval is not supported by this remote
2024/09/29 00:02:23 DEBUG : Network mode mounting is disabled
2024/09/29 00:02:23 DEBUG : Mounting on "C:\\Users\\bvthe\\Videos\\Jellyfin" ("Media movies")
2024/09/29 00:02:23 DEBUG : S3 bucket movies: Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=Media movies"]
2024/09/29 00:02:23 DEBUG : S3 bucket movies: Init:
2024/09/29 00:02:23 DEBUG : S3 bucket movies: >Init:
2024/09/29 00:02:23 DEBUG : /: Statfs:
2024/09/29 00:02:23 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/09/29 00:02:23 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:23 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:23 DEBUG : /: Readlink:
2024/09/29 00:02:23 DEBUG : /: >Readlink: linkPath="", errc=-40
2024/09/29 00:02:23 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2024/09/29 00:02:23 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2024/09/29 00:02:23 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:23 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:23 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:23 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:23 DEBUG : /: Opendir:
2024/09/29 00:02:23 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:23 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:23 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/09/29 00:02:23 DEBUG : /: Statfs:
2024/09/29 00:02:23 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/09/29 00:02:23 DEBUG : /: Statfs:
2024/09/29 00:02:23 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/09/29 00:02:23 DEBUG : /: Releasedir: fh=0x0
2024/09/29 00:02:23 DEBUG : /: >Releasedir: errc=0
2024/09/29 00:02:26 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:26 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:26 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:26 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:26 DEBUG : /: Opendir:
2024/09/29 00:02:26 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:26 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:26 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/09/29 00:02:26 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:26 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:26 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:26 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:26 DEBUG : /: Opendir:
2024/09/29 00:02:26 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:26 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:26 DEBUG : /: >Opendir: errc=0, fh=0x1
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Opendir:
2024/09/29 00:02:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:27 DEBUG : /: >Opendir: errc=0, fh=0x2
2024/09/29 00:02:27 DEBUG : /: Releasedir: fh=0x2
2024/09/29 00:02:27 DEBUG : /: >Releasedir: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Opendir:
2024/09/29 00:02:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:27 DEBUG : /: >Opendir: errc=0, fh=0x2
2024/09/29 00:02:27 DEBUG : /: Releasedir: fh=0x2
2024/09/29 00:02:27 DEBUG : /: >Releasedir: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Opendir:
2024/09/29 00:02:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:27 DEBUG : /: >Opendir: errc=0, fh=0x2
2024/09/29 00:02:27 DEBUG : /: Releasedir: fh=0x2
2024/09/29 00:02:27 DEBUG : /: >Releasedir: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/09/29 00:02:27 DEBUG : /: >Getattr: errc=0
2024/09/29 00:02:27 DEBUG : /: Opendir:
2024/09/29 00:02:27 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/09/29 00:02:27 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/09/29 00:02:27 DEBUG : /: >Opendir: errc=0, fh=0x2
2024/09/29 00:02:27 DEBUG : /: Releasedir: fh=0x2
2024/09/29 00:02:27 DEBUG : /: >Releasedir: errc=0

Such command does not use any disk space and what you see is "virtual" representation of data stored on your remote.

This also means that all read and write operations will be only as fast as your remote access over a network.

But you can "sacrifice" some local disk space for VFS caching vastly improving overall mount performance. Check docs. Example extra flags needed below:

--vfs-cache-mode full --vfs-refresh --dir-cache-time 9999h --vfs-cache-max-age 9999h --cache-dir /path/to/cache --vfs-cache-max-size 300G

I suspected this might be the case, but I wasn't sure - thank you for clarifying!

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