How can we extend/resize the LVM partition online which has snapshot enabled?

Solution Verified - Updated -

Issue

  • Extend snapshot enabled filesystem.
  • One of the server having snapshot enabled volumes, we want to increase the snapshot enabled filesystem /data.
  • We would like to know the procedure to increase snapshot enabled filesystem, also want to know how much space to consider for snapshot.
  • When trying to extend the logical volume (LV) I see the error:
# lvextend -L +20G /dev/test_vg/test_lv
Snapshot origin volumes can be resized only while inactive: try lvchange -an.

Environment

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