Rclone size remote:path shows incorrect results for some folders

What is the problem you are having with rclone?

I am trying to check the size of my remote folder and it shows incorrect size

What is your rclone version (output from rclone version)

rclone v1.51.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

os/arch: android/arm64

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)

<rclone size my_remote:>

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

$ rclone -vv size source:
2020/05/05 09:44:07 DEBUG : rclone: Version "v1.51.0" starting with parameters ["rclone" "-vv" "size" "source:"]
2020/05/05 09:44:07 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
Total objects: 795
Total size: 1.671 TBytes (1837333464954 Bytes)
2020/05/05 09:44:27 DEBUG : 19 go routines active
2020/05/05 09:44:27 DEBUG : rclone: Version "v1.51.0" finishing with parameters ["rclone" "-vv" "size" "source:"]

The actual size of this folder/source remote is around 9 TB+ but it still shows it as 1.6TB
I tested it for another remote which is around 2.5 TB in actual, rclone size showed 1.6 TB , it seems for every folder which is not in "my drive" or "shared drive" rclone size simply outputs 1.6 TB as its size

Interestingly if i check size of any folder in "my drive" or any of my "shared drives" it is working well and shows correct output

What does rclone about on the remote show?

Mine are both on point in testing:

felix@gemini:~$ rclone about GD:
Used:    114.394T
Trashed: 0
Other:   185.297M
felix@gemini:~$ rclone size GD: --fast-list
Total objects: 40556
Total size: 114.394 TBytes (125777813686965 Bytes)

Are you using any shared with me for your count?

$ rclone about source:
Total: 15G
Used: 64.945M
Free: 13.436G
Trashed: 0
Other: 1.500G

rclone about source: basically outputs storage status of my google account's "My Drive" and not the remote itself. This issue mainly happens if you create remote of a public folder from another source ( not from our own account )
I had to clone to a public folder in my td so i created its remote and entered its folder_id when config asks to enter root_folder_id

Right, if you have copies and shared with me and other things going on, you'd have to create separate remotes for those and sizes won't match up unless you added them all together.

1 Like

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