Can a filesystem Persistent Volume Claim (PVC) be shared between virtual machines (VMs) and pods to share data?

Solution In Progress - Updated -

Issue

  • Can a filesystem Persistent Volume Claim (PVC) be shared with more than one virtual machine (VM) to share data?
  • I have a PVC assigned to a pod. I am getting an empty disk when assigning the same PVC to a VM in OpenShift Virtualization. Can I share the data between pod and VM using filesystem PVC?

Environment

  • OpenShift Virtualization 4.12.
  • OpenShift Virtualization 4.13.
  • OpenShift Virtualization 4.14.
  • OpenShift Virtualization 4.15.
  • OpenShift Virtualization 4.16.
  • OpenShift Virtualization 4.17.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content