Shard drive used space

364 views
Skip to first unread message

Gabriel Clifton

unread,
Feb 9, 2022, 3:48:28 PM2/9/22
to GAM for Google Workspace
I am having trouble getting used drive space for Shared Drives. I am trying to use this Python script, but can't get past step 4 as I don't understand what step 6 is and how to set it up. Can you help?

Brian Kim

unread,
Feb 9, 2022, 4:18:02 PM2/9/22
to GAM for Google Workspace
you need to use this as well.


basically you need to impersonate organizers/managers of shared drives.

Gabriel Clifton

unread,
Feb 9, 2022, 4:43:00 PM2/9/22
to GAM for Google Workspace
Yeah, I eventually found that, but could not get that either. Wasn't thinking right, Ross helped me get that straightened out.

Gabriel Clifton

unread,
Feb 9, 2022, 4:52:18 PM2/9/22
to GAM for Google Workspace
Is "Size" in TeamDriveCountsSize.csv in Bits, Bytes, or what?

Brian Kim

unread,
Feb 9, 2022, 5:23:25 PM2/9/22
to GAM for Google Workspace
bytes unless ross is doing some math operation.

Gabriel Clifton

unread,
Feb 9, 2022, 5:38:51 PM2/9/22
to google-ap...@googlegroups.com
Thanks. I have now set up a script that will get all users Google Drive use space and all Google Shared Drive used space and upload to a Google Sheet in a Shared drive for admins with a nice pie chart for how close we are to the coming quota. (We are a super small school district and we are only using ~1% of the upcoming 100Tb cap, thank goodness!)

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/de7bfd9a-e34b-405f-aa57-7f1c0c1fb4dbn%40googlegroups.com.


--

Gabriel Clifton | Network Administrator

Fort Stockton ISD | Technology Center
gabriel...@fsisd.net | http://www.fsisd.net
Office (432) 336-4055 ext 2

Fax (432) 336-4050
1204 W. Second St., 
Fort Stockton, TX 79735

Please note: Although we may sometimes respond to email, text, and phone calls instantly at all hours of the day, our regular support hours are 8:00 AM - 5:00 PM, Monday through Friday. We may need to wait until the next school day to attend to your issue. All issues are worked on a first-come, first-served basis depending on severity, and issues with proper work orders submitted are handled first.

Confidentiality notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.
"You must always be willing to work without applause."
— Ernest Hemingway

"You just have to find that thing that's special about you that distinguishes you from all the others, and through true talent, hard work, and passion, anything can happen."
— Dr. Dre

Ian Crew

unread,
Feb 9, 2022, 7:17:57 PM2/9/22
to GAM for G Suite
I haven’t used it personally, but I’ve heard good things from other schools about Amplified IT’s Gopher For Drive tool that can also help with figuring out usage. Check out https://www.amplifiedit.com/gopher-for-drive/

Ian


 

Ian Crew

Solutions Architect
Productivity & Collaboration Services
Berkeley IT

Gabriel Clifton

unread,
Feb 9, 2022, 7:54:01 PM2/9/22
to google-ap...@googlegroups.com
One of our other admins used Gopher, but it would only calculate a certain time range.


Gabriel Clifton

unread,
Feb 10, 2022, 1:09:10 PM2/10/22
to GAM for Google Workspace
Here's something to make you think. I have run a report for both user drive space and Shared drive space with GAMADV and Gopher. Each method has conflicting sizes in the reports. Can anyone think of a reason for this?
User drives
GAMADV for 2022-02-05  accounts:used_quota_in_mb  5,147,029
Gopher for 2022-02-05 total usage in MB  5,608,063

Shared drives
GAMADV for 2022-02-05 size in MB  226,523
Gopher for 2022-02-05 size in MB   461,822

Reply all
Reply to author
Forward
0 new messages