# IPFS Cluster pinning problem (solved)

**URL:** <https://discuss.ipfs.tech/t/ipfs-cluster-pinning-problem-solved/3455>\
**Category:** IPFS Cluster\
**Created:** [July 21, 2018, 9:43am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-pinning-problem-solved/3455 "2018-07-21T09:43:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Panzrom](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@Panzrom](https://discuss.ipfs.tech/u/Panzrom)\
**Post date:** [July 21, 2018, 9:43am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-pinning-problem-solved/3455/1 "2018-07-21T09:43:51Z")

</div>

I have two running IPFS daemons on two Raspberry Pis with Raspbian in the same subnet. I followed the inctructions ([https://cluster.ipfs.io/documentation](https://cluster.ipfs.io/documentation)) and successfully set up a IPFS cluster with a fixed peerset. With “ipfs-cluster-ctl peers ls” i can see both peers. The problem is that the peers dont sync their pins. I successfully pinned both peers with “ipfs-cluster-ctl pin add CID” but at they never finished pinning their files.  
“ipfs-cluster-ctl status” still shows:  
CID1:  
Peer CID1: PINNING | 2018-07-21T08:25:01Z  
Peer CID2: PINNING | 2018-07-21T08:33:35Z  
CID2:  
Peer CID1: PINNING | 2018-07-21T08:25:01Z  
Peer CID2: PINNING | 2018-07-21T08:33:35Z

“ipfs-cluster-ctl pin ls”  
CID1| | Repl. Factor: -1 | Allocations: [everywhere]  
CID2| | Repl. Factor: -1 | Allocations: [everywhere]

I tried:

- restarted all daemons and even the Pis
- removed all pins and pinned new files on both ipfs daemons
- set up a cluster via bootstrap  
but the result was the same.  
“ipfs pin ls” still shows nothing on the second peer.  
Im not sure if this is a bug or im doing something wrong :-/.

update: I had to pin the files with “ipfs-cluster-ctl pin add HASH” and not the peers. I thought the cluster would auto sync everything.

---

<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:** [July 23, 2018, 8:27am UTC](https://discuss.ipfs.tech/t/ipfs-cluster-pinning-problem-solved/3455/2 "2018-07-23T08:27:05Z")

</div>

Hello,

yes, you need to pin content, like you do in IPFS. I don’t know where you got the idea of pinning the peer CID. As no providers exist for that CID, it won’t be possible to pin it.

If you want to sync everything, do something like `ipfs pin ls --type=recursive -q | xargs -n1 ipfs-cluster-ctl pin add --ns` to add your ipfs pinset to cluster.
