Pinning more than node capacity

Hello,

I have a question: can you pin content that exceeds your node’s capacity?

Let say I want to pin 20Gb in a node that is limited to 10Gb, what will happen?

Thank you very much for your help!!

Yes, node capacity isn’t a limit, it’s a threashold upon to run GC (garbage-collecetion, or removing old blocks you don’t need anymore).

You also need to run the daemon with ipfs daemon --enable-gc for the limit to even do something.

If you were to pin a 20Gig file on a 10Gig node, the GC would just trigger at each interval 1h by default.

2 Likes

That is really helpful thank you very much!