LVM snapshot becomes invalid with warning "Snapshot changed state to: Invalid and should be removed"

Solution Verified - Updated -

Issue

  • An LVM snapshot volume becomes invalid and cannot be activated or mounted.
  • The following error messages are recorded in syslog or /var/log/messages:
  kernel: device-mapper: snapshots: Invalidating snapshot: Unable to allocate exception.
  lvm[1894]: WARNING: Snapshot rootvg-snap changed state to: Invalid and should be removed.

  • During system boot or volume group activation, the kernel warns:
    kernel: device-mapper: snapshots: Snapshot is marked invalid.
  • In the output of lvs, the snapshot volume displays an I (Invalid) flag in the attributes, and the data percentage shows 100.00:
 ssnap    rootvg        swi-I-s---  600.00m      optvol  100.00                                          /dev/sda2(12349
                            ^
 ssnap    rootvg        swi-I-s---  600.00m      optvol  100.00                                          /dev/sda2(13474 
                            ^

Environment

  • Red Hat Enterprise Linux(RHEL)
  • Logical Volume Manager 2 (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