Is it safe to run LVM commands in a container?

Solution Verified - Updated -

Issue

  • LVM metadata changes unexpectedly.
  • LVs disappear after seemingly unrelated operations.
  • LV tags get deleted unexpectedly.
  • LVs are active, but they don't appear as such in the output of lvs and the corresponding symbolic links do not exist (e.g. /dev/mapper/vg_name-lv_name or /dev/vg_name/lv_name).

Environment

  • Red Hat Enterprise Linux
  • Containers shipping a separate LVM library

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