List PVCs mounted by Pods

Solution Verified - Updated -

Issue

  • How do we find specific PersistentVolumeClaim mounted by Pods ?
  • We want to verify what Pods are using PersistentVolume(PV) through PersistentVolumeClaim(PVC) mounted by the Pods.
  • I would like to know if there is a quick way to find out if a pvc is not being used or if it has never been used.

Environment

  • OpenShift Container Platform
    • 3.x
    • 4.x

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