Can't see the size of a mounted google shared drive

What is the problem you are having with rclone?

I have a crypt of a google shared drive mounted in Ubuntu 20.04. When the drive is mounted i cant see how much space is used using the df command. Also rclone about shows no data:
:~$ df -h /GSD
Filesystem Size Used Avail Use% Mounted on
GSDcrypt: 1.0P 0 1.0P 0% /GSD

:~$ rclone about GSD:
:~$ rclone about GSDcrypt:
:~$

I'm guessing neither is expected behavior? Other than that everything is working as it should. I've had a look around and i couldn't see any obvious answers, all help greatly appreciated!

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

:~$ rclone version
rclone v1.57.0

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-99-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.2
  • go/linking: static
  • go/tags: none

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 -vv about GSDcrypt:

rclone -vv about GSD:

:~$ df -h /GSD
Filesystem      Size  Used Avail Use% Mounted on
GSDcrypt:       1.0P     0  1.0P   0% /GSD

The rclone config contents with secrets removed.

[GSD]
type = drive
client_id = <removed>
client_secret = <removed>
scope = drive
token = <removed>
team_drive = <removed>
root_folder_id =

[GSDcrypt]
type = crypt
remote = GSD:files
password = <removed>
password2 = <removed>

A log from the command with the -vv flag

The crypt is mounted with:
/usr/bin/rclone mount GSDcrypt: /GSD --allow-other --dir-cache-time 1000h --log-level INFO --log-file /opt/rclone/logs/rclone.log --poll-interval 15s --umask 002 --user-agent myrclone --rc --rc-addr :5572 --rc-no-auth --cache-dir=/rclone-cache --vfs-cache-mode full --vfs-cache-max-size 500G --vfs-cache-max-age 336h --bwlimit-file 220M


:~$ rclone -vv about GSDcrypt:
2022/03/04 16:31:48 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
2022/03/04 16:31:48 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "about" "GSDcrypt:"]
2022/03/04 16:31:48 DEBUG : Creating backend with remote "GSDcrypt:"
2022/03/04 16:31:48 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2022/03/04 16:31:49 DEBUG : Creating backend with remote "GSD:files"
2022/03/04 16:31:49 DEBUG : Google drive root 'files': read info from Shared Drive "GSD"
2022/03/04 16:31:49 DEBUG : 4 go routines active

:~$ rclone -vv about GSD:
2022/03/04 16:32:15 DEBUG : Setting --config "/opt/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/opt/rclone/rclone.conf"
2022/03/04 16:32:15 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "about" "GSD:"]
2022/03/04 16:32:15 DEBUG : Creating backend with remote "GSD:"
2022/03/04 16:32:15 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2022/03/04 16:32:15 DEBUG : Google drive root '': read info from Shared Drive "GSD"
2022/03/04 16:32:15 DEBUG : 4 go routines active

See:

Manually set the mount size for Google Team Drives - Help and Support - rclone forum

Sorry for the delay in response.
I reviewed the docs for drive-team-drive and I do have team_drive already set in the config file. Its set to the final string that would appear after https://drive.google.com/drive/u/1/folders/ if i open the shared drive in a browser. Am i missing something else?
Thanks

Sorry as I confused your ask.

There's no API call for team drive space used:

Space used is always reported as 0 for team drives · Issue #3813 · rclone/rclone (github.com)

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