Local PV mount failed with the error "cannot mount unformatted disk"

Solution Verified - Updated -

Issue

  • Mounting of local volume PV fails with the error mentioned below.
MountVolume.MountDevice failed for volume "local-pv-a1b2c3d" : : failed to mount device /mnt/local-storage/local-sc/dm-3 at /var/lib/kubelet/plugins/kubernetes.io/local-volume/mounts/local-pv-a1b2c3d(fstype: xfs), error cannot mount unformatted disk /mnt/local-storage/local-sc/dm-3 

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 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