<p>I want to enable <code>ReadWriteMany</code> access mode in EKS Persistent Volume. Came accross io2 volumetype by EBS AWS. SO using io2 type volume</p>
<p>storage_class.yaml</p>
<pre><code>apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: io2
provisioner: ebs.csi.aws.com
volumeBindingMode: WaitForFirstConsumer
parameters:
  type: io2
  iopsPerGB: &quot;200&quot;
</code></pre>
<p>persistent_volume.yaml</p>
<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: pv
spec:
  accessModes:
  - ReadWriteMany
  awsElasticBlockStore:
    fsType: ext4
    volumeID: &lt;IO2 type volume ID&gt;
  capacity:
    storage: 50Gi
  storageClassName: io2
  volumeMode: Filesystem
</code></pre>
<p>pv_claim.yaml</p>
<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: pvc
spec:
  accessModes:
  - ReadWriteMany
  resources:
    requests:
      storage: 50Gi
  volumeMode: Filesystem
  volumeName: pv
  storageClassName: io2
</code></pre>
<p>When 3 replicas of pods are deployed across 2 nodes in same AZ, 2 replicas (on one node) successfully mounts to the io2 volume and starts running but third replica on another node does not mount to volume.</p>
<blockquote>
<p>Error -&gt; Unable to attach or mount volumes: unmounted volumes['']</p>
</blockquote>
<p>Also, I want to understand if io2 type volumes are meant to be mount to multiple nodes(EC2 instances in same AZ as volume) in EKS with ReadWriteMany access mode.</p>

ateet
<p>I looks like there is <a href="https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/449" rel="nofollow noreferrer">open feature request on kubernetes-sigs/aws-ebs-csi-driver</a> repo but no progress on this. So I guess that it is not supported at the moment but you can monitor the issue for updates.</p>
