Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Is it possible to limit the size of a local storage? #34

Closed
Mithgol opened this issue Sep 15, 2015 · 8 comments
Closed

Is it possible to limit the size of a local storage? #34

Mithgol opened this issue Sep 15, 2015 · 8 comments

Comments

@Mithgol
Copy link

Mithgol commented Sep 15, 2015

A local storage is naturally limited by the size of the physical disk drive it resides on. However, an end user may want to limit it further. The limit may include (or not include) the collective size of pinned media (ipfs pin).

@jbenet
Copy link
Contributor

jbenet commented Sep 15, 2015

Yes, this will merge soon in go-ipfs.

@RichardLitt
Copy link
Contributor

@whyrusleeping Has this been merged?

@Wallacoloo
Copy link

@RichardLitt AFAICT you just set DataStore/StorageMax inside of ~/.ipfs/config to whatever you want your limit to be. The default appears to currently be 10 GB.

@ghost
Copy link

ghost commented May 22, 2016

The Datastore.StorageMax setting does not limit how much diskspace the datastore can use. It's used only by the GC, together with Datastore.GCWatermark, to determine whether or not to run GC.

@ghost
Copy link

ghost commented May 22, 2016

@whyrusleeping Has this been merged?

I don't think this ever took off. It will very likely come with the "constrainted environments" effort.

@Wallacoloo
Copy link

@lgierth Hopefully not off-topic for this issue, but is there any place where the various config options are documented? There's this, but it's pretty lacking.

@icf20
Copy link

icf20 commented Jun 5, 2016

is there any update about this ?

@flyingzumwalt
Copy link
Contributor

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

No branches or pull requests

6 participants