# How to attach multiple pods to the same PVC?

**URL:** <https://forums.portworx.com/t/how-to-attach-multiple-pods-to-the-same-pvc/173>\
**Category:** Portworx on Kubernetes\
**Created:** [May 23, 2019, 8:15pm UTC](https://forums.portworx.com/t/how-to-attach-multiple-pods-to-the-same-pvc/173 "2019-05-23T20:15:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.portworx.com/alex/32/71_2.png) [@Alex](https://forums.portworx.com/u/Alex)\
**Post date:** [May 23, 2019, 8:15pm UTC](https://forums.portworx.com/t/how-to-attach-multiple-pods-to-the-same-pvc/173/1 "2019-05-23T20:15:38Z")

</div>

By default a Portworx volume can be attached to a single pod only.  
If you have applications that need to run more than one instance attaching to the same PVC and you are seeing an error similar to below when deploying:

`MountVolume.SetUp failed for volume "pvc-c85f2297-7cca-11e9-b839-1259e1dd1832" : Volume is attached on another node`

Then you have to create the volume as a **shared** volume.

You can read more details and see examples on the documentation link below:

> **[Create shared PVCs](https://2.1.docs.portworx.com/portworx-install-with-kubernetes/storage-operations/create-pvcs/create-shared-pvcs/)**
>
> Learn how to use portworx shared volumes (ReadWriteMany) in your Kubernetes cluster.
