LVM command fails because archive metadata file could not be created

Solution Verified - Updated -

Issue

  • Why LVM command fails to complete with the below error message:
  Couldn't create temporary archive name.
  Volume group "vgname" metadata archive failed.

or

  Cannot archive volume group metadata for <LV> to read-only filesystem.

Environment

  • Red Hat Enterprise Linux
  • LVM2

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