Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Size of lifestuff drive undecided #60

Closed
Dan-Schmidt opened this issue Nov 7, 2012 · 4 comments
Closed

Size of lifestuff drive undecided #60

Dan-Schmidt opened this issue Nov 7, 2012 · 4 comments

Comments

@Dan-Schmidt
Copy link
Contributor

The lifestuff drive reports a size of 1GB.

@muecs
Copy link
Contributor

muecs commented Nov 7, 2012

As of yesterday, RemoteChunkStore::Capacity properly reports the total space in the user's account, i.e. the size of all their vaults.

@Dan-Schmidt
Copy link
Contributor Author

Excellent, so we can use that for the maximum size. How often can we query this? What should we use for the used size?

@muecs
Copy link
Contributor

muecs commented Nov 7, 2012

Size and Capacity can be queried as often as you want, as the values are cached. The AccountStatusManager retrieves account snapshots every 10 to 180 seconds and interpolates between them.

The size only relates to the total size of all default chunks stored, not the actual file sizes (compression etc.), so ideally we would use the scaling factor between total chunk size and total file size (from Drive's stats) to estimate the total file capacity via the total chunk capacity.

@Fraser999
Copy link
Contributor

Migrated to maidsafe-archive/MaidSafe-Drive#8

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants