`pvcreate` command fails with error "Can't initialize physical volume "/dev/mapper/mpathX" of volume group "VGX" without -ff"

Solution Verified - Updated -

Issue

  • pvcreate command fails with error "Can't initialize physical volume "/dev/mapper/mpathX" of volume group "VGX" without -ff"
  • Creating a new Physical volume fails with the error :
#pvcreate /dev/mapper/mpathX
#pvcreate command fails with error "Can't initialize physical volume "/dev/mapper/mpathX" of volume group "VGX" without -ff"

Environment

  • Red Hat Enterprise Linux 6,7,8,9
  • LVM

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