Nested Partition - The pvcreate command fails with error: "Device /dev/mapper/mpathXN not found (or ignored by filtering)."

Solution Verified - Updated -

Issue

  • The pvcreate command fails a multipath device with error: Device /dev/mapper/mpathXN not found (or ignored by filtering).
[root@host]# pvcreate /dev/mapper/mpathXN
  Device /dev/mapper/mpathXN not found (or ignored by filtering).
  • A similar message may be seen on single path storage devices, eg:
[root@host]# pvcreate /dev/sdXN
  Device /dev/sdXN not found (or ignored by filtering).

[root@r93 ~]# pvcreate /dev/mapper/mpathXN
Cannot use /dev/mapper/mpathXN: device is partitioned
~~~~
* A nested GPT label without a partition may also cause this same issue.

Environment

  • Red Hat Enterprise Linux 5, 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