LVM commands are failing with this error: Can't open exclusively. Mounted filesystem?

Solution Unverified - Updated -

Issue

  • LVM commands are failing with this error: Can't open exclusively. Mounted Filesystem?
  • A new disk partition created with parted is being accessed by something.
  • Cannot create a logical volume on a disk that is part of multipathed storage.

Environment

  • Red Hat Enterprise Linux 4 and 5
  • Logical Volume Management
  • Parted (optional, appears in cases involving large partitions)

  • Multipathing

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