# Need file paths on cluster after pinning the associated file hashes

**URL:** <https://discuss.ipfs.tech/t/need-file-paths-on-cluster-after-pinning-the-associated-file-hashes/9165>\
**Category:** IPFS Cluster\
**Created:** [September 29, 2020, 11:20am UTC](https://discuss.ipfs.tech/t/need-file-paths-on-cluster-after-pinning-the-associated-file-hashes/9165 "2020-09-29T11:20:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![susarlanikhilesh](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/susarlanikhilesh/32/4112_2.png) [@susarlanikhilesh](https://discuss.ipfs.tech/u/susarlanikhilesh)\
**Post date:** [September 29, 2020, 11:20am UTC](https://discuss.ipfs.tech/t/need-file-paths-on-cluster-after-pinning-the-associated-file-hashes/9165/1 "2020-09-29T11:20:58Z")

</div>

when I type the below command  
`ipfs-cluster-ctl pin add --replication 1 --allocations <PeerId1> <fileHash>`

The hash gets pinned on to the PeerId1 node. Is there any way on how I can associate the file name to that hash, so that we are able to query something like  
`ipfs files ls --long` (on PeerId1).

We can use the metadata tag to store the file name for that hash that we are pinning, but is there any ipfs/ipfs-cluster functionality on how we can achieve that.

Thank you.

---

<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:** [September 29, 2020, 11:29am UTC](https://discuss.ipfs.tech/t/need-file-paths-on-cluster-after-pinning-the-associated-file-hashes/9165/2 "2020-09-29T11:29:09Z")

</div>

Cluster does not interact with MFS so items pinned with cluster do not get added to MFS by cluster. You’d need to do that manually.

`ipfs-cluster-ctl pin add` takes a `--name` flag too, which can be used to store a name for the pin, but only visible to cluster, not to ipfs.
