Continuing the discussion from --vfs-disk-space-total-size shows same number for Size and Used in df output:
What is the problem you are having with rclone?
Running rclone mount with the --vfs-disk-space-total-size flag, and specifying a size < 999T causes the output of df to show the same numbers for Size and Used columns when used with at least a DROPBOX mount, seems to work fine with gdrive mounts for some reason
root@home:~$ df -h
Filesystem Size Used Avail Use% Mounted on
...
gd_crypt: 1.1P 350T 993T 43% /mnt/gdrive
db_crypt: 1.5P 1.5P 942G 100% /mnt/temp
...
Run the command 'rclone version' and share the full output of the command.
rclone v1.60.0-beta.6429.555def2da
os/version: debian 11.4 (64 bit)
os/kernel: 5.17.12-xanmod1 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.19
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
dropbox + crypt
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount db_crypt:/ /mnt/temp --allow-other --umask 002 --tpslimit 12 --tpslimit-burst 12 --vfs-disk-space-total-size 1500T
The rclone config contents with secrets removed.
[gdrive]
type = drive
client_id = -censored-
client_secret = -censored-
scope = drive
root_folder_id = -censored-
token = -censored-
upload_cutoff = 256M
chunk_size = 256M
server_side_across_configs = true
team_drive =
[gd_crypt]
type = crypt
remote = gdrive:/
filename_encryption = standard
directory_name_encryption = true
server_side_across_configs = true
password = -censored-
password2 = -censored-
[dropbox]
type = dropbox
token = -censored-
client_id = -censored-
client_secret = -censored-
[db_crypt]
type = crypt
remote = dropbox:/stuff
password = -censored1-
password2 = -censored2-
filename_encoding = base32768
A log from the command with the -vv
flag
2022/08/30 16:08:51 INFO : Starting transaction limiter: max 12 transactions/s with burst 12
2022/08/30 16:08:51 DEBUG : rclone: Version "v1.60.0-beta.6429.555def2da" starting with parameters ["rclone" "mount" "db_crypt:/" "/mnt/temp/" "--allow-other" "--umask" "002" "--tpslimit" "12" "--tpslimit-burst" "12" "--vfs-disk-space-total-size" "150T" "-vvv"]
2022/08/30 16:08:51 DEBUG : Creating backend with remote "db_crypt:/"
2022/08/30 16:08:51 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/08/30 16:08:51 DEBUG : Creating backend with remote "dropbox:/stuff"
2022/08/30 16:08:52 DEBUG : Dropbox root '': Using root namespace "-censored-"
2022/08/30 16:08:53 DEBUG : fs cache: renaming cache item "dropbox:/stuff" to be canonical "dropbox:stuff"
2022/08/30 16:08:53 DEBUG : fs cache: switching user supplied name "dropbox:/stuff" for canonical name "dropbox:stuff"
2022/08/30 16:08:53 DEBUG : Encrypted drive 'db_crypt:/': Mounting on "/mnt/temp/"
2022/08/30 16:08:53 DEBUG : : Root:
2022/08/30 16:08:53 DEBUG : : >Root: node=/, err=<nil>
2022/08/30 16:09:08 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
2022/08/30 16:09:08 DEBUG : : Statfs:
**2022/08/30 16:09:08 DEBUG : : >Statfs: stat={Blocks:549755813888 Bfree:1025044856 Bavail:1025044856 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>**
2022/08/30 16:09:53 DEBUG : Dropbox root 'stuff': Checking for changes on remote
And output from a typical gdrive mounted, if it helps -- some numbers censored/altered:
...snip...
2022/08/30 16:17:05 DEBUG : : >Statfs: stat={Blocks:302153184340 Bfree:204596054809 Bavail:204596054809 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil