what could be the easiest way to calculate the actual stored pins size inside a cluster peer. StorageMax info is available inside config , freespace info is available inside metrics so what about actual occupied/stored space !?
From Thread : IPFS node/Peer storage calculations inside a cluster
Hi, have you found the solution? I am facing the same issue
Nope , still looking for something concrete
Both StorageMax and RepoSize are available through the IPFS API (ipfs repo stat --size-only).
ipfs repo stat --size-only