astrada / google-drive-ocamlfuse

FUSE filesystem over Google Drive
https://astrada.github.io/google-drive-ocamlfuse/
MIT License
5.48k stars 349 forks source link

df reports incorrect storage with a limited storage account #594

Closed kerkradio closed 4 years ago

kerkradio commented 4 years ago

Many thanks for this wonderful tool.

According to df I have a 9 Petabyte capacity. This should be 1TB. The "Available" and "User%" is correct. df output:

Filesystem: google-drive-ocamlfuse
1K-blocks: 9007199254740988
Used: 1197240
Available: **9007199253543748**
Use%: 1%
Mounted on: /var/www/html/gd
kerkradio commented 4 years ago

A few corrections:

  1. I mentioned 9,007,199,253,543,748 (9PT) but in actual fact it is 9,007,199,253,543,748 x 1024 byte blocks or 9 Zetabytes.

  2. It seems like I do have a 9 Zetabyte capacity (aka unlimited according to Google). I have uploaded 55GB so far and df still reports that 1% used of 9ZB. When checking my drive storage status it mentions that I have unlimited storage. Not too shabby for $12/month! :-)

Filesystem: google-drive-ocamlfuse 1K-blocks: 9007199254740988 Used: 56767212 Available: 9007199197973776 Use%: 1% Mounted on: /var/www/html/gd