My Oracle Support Banner

Unable To Extend LVM File System with Associated Snapshot. (Doc ID 2351779.1)

Last updated on MAY 04, 2023

Applies to:

Linux OS - Version Oracle Linux 7.0 to Oracle Linux 7.4 with Unbreakable Enterprise Kernel [4.1.12] [Release OL7 to OL7U4]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

Unable to Extend LVM file system which has snapshot, Error "Snapshot origin volumes can be resized only while inactive: try lvchange -an"


# vgs | grep -i vg_root
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 0: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 17179803648: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 17179860992: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 4096: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 0: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 12884836352: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 12884893696: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 4096: Input/output error
  vg_root 3 9 2 wz--n- 94.41g 35.41g
#

# lvextend -L +16G /dev/vg_root/lv_root
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 0: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 17179803648: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 17179860992: Input/output error
  /dev/vg_root/lv_rootsnap: read failed after 0 of 4096 at 4096: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 0: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 12884836352: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 12884893696: Input/output error
  /dev/vg_root/lv_varsnap: read failed after 0 of 4096 at 4096: Input/output error
  Snapshot origin volumes can be resized only while inactive: try lvchange -an
  Run `lvextend --help' for more information.
#

Changes

 snapshot taken.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.