Code Change Request

# 27687

Back to Code Changes

Christopher
Technical Support
StableBit CloudDrive
1.0.1.880 - 1.0.2.953
Windows Server 2008 R2
Public
Alex

* [Issue #27687] Added IoManager_NoFreeSpaceCheckOnStorageProvider advanced setting to bypass the free space check at the storage 
provider when creating new cloud drives or resizing existing ones.
Public
Alex

The drive is being resized and according to the error reports:
  • The current drive size is: 268435456000 B
  • The new drive size would be: 322122547200 B
  • Required free space on the storage provider should be at least: 53687091200 B
  • Available free space is: 31918634619 B
How much more free space is required?

53687091200 - 31918634619 = 21768456581 B

In GB:

21768456581 / (1024 * 1024 * 1024) = 20.27345502842217683792 GB

StableBit CloudDrive uses this API in order to query for the free space: https://developers.google.com/drive/v3/reference/about/get

If storageQuota.limit == 0 we assume it's unlimited, as documented. Otherwise we do about.storageQuota.limit - about.storageQuota.usage.