# Data Replication Among Multiple IPFS-Clusters

**URL:** <https://discuss.ipfs.tech/t/data-replication-among-multiple-ipfs-clusters/4781>\
**Category:** IPFS Cluster\
**Created:** [January 30, 2019, 7:20pm UTC](https://discuss.ipfs.tech/t/data-replication-among-multiple-ipfs-clusters/4781 "2019-01-30T19:20:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)\
**Post date:** [January 30, 2019, 11:01pm UTC](https://discuss.ipfs.tech/t/data-replication-among-multiple-ipfs-clusters/4781/2 "2019-01-30T23:01:56Z")

</div>

> [@Patrick](#):
>
> Is it possible to set up 4 clusters with 3 nodes each?

Sure, why not.

> [@Patrick](#):
>
> What happens if a node in a cluster has no free local memory and new data should be stored in the cluster?

If disk space is gone, ipfs will error when pinning. If the IPFS repository uses more than the StorageMax configuration variable in the ipfs daemon, then things will just work as before, since hitting the StorageMax mark does not do anything in IPFS. When deciding where to allocate pins, cluster will give less priority to peers with less storage left. tl;dr: set StorageMax to something smaller than the available disk space in each peer to make sure you get even distribution of content in the cluster.

> [@Patrick](#):
>
> If a node requests data from another cluster in which it is a member, is this data also distributed in the new cluster?

I’m not sure what “a node requests data from another cluster” means. A cluster peer pinning something that is pinned in another cluster? In that case, it depends on the ipfs daemons being configured correctly and connected among each others. If the 12 ipfs daemons are in the same ipfs private network then the content they are pinning will be accessible from any of the others, regardless of the cluster they are controlled with.

The cluster private network (formed by the cluster peers in a single cluster) and the ipfs [private] network are fully independent.

---

_[View the full topic](https://discuss.ipfs.tech/t/data-replication-among-multiple-ipfs-clusters/4781)._
