Bug 1007410 - Segfault while trying to finish pvmove on inactive LV
Segfault while trying to finish pvmove on inactive LV
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lvm2 (Show other bugs)
All Linux
high Severity urgent
: rc
: ---
Assigned To: Alasdair Kergon
Cluster QE
Depends On:
  Show dependency treegraph
Reported: 2013-09-12 08:43 EDT by Peter Rajnoha
Modified: 2013-11-21 18:28 EST (History)
11 users (show)

See Also:
Fixed In Version: lvm2-2.02.100-3.el6
Doc Type: Bug Fix
Doc Text:
This bug appeared during testing of unreleased version and it has been fixed. No doc text needed.
Story Points: ---
Clone Of:
Last Closed: 2013-11-21 18:28:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Rajnoha 2013-09-12 08:43:57 EDT
[root@rhel6-a ~]# pvcreate /dev/sda /dev/sdb
  Physical volume "/dev/sda" successfully created
  Physical volume "/dev/sdb" successfully created

[root@rhel6-a ~]# vgcreate vg /dev/sda /dev/sdb
  Volume group "vg" successfully created

[root@rhel6-a ~]# lvcreate -L2g vg /dev/sda
  Logical volume "lvol0" created

[root@rhel6-a ~]# pvmove /dev/sda /dev/sdb
  /dev/sda: Moved: 0.2%
  /dev/sda: Moved: 15.0%


The segfault seen at boot while calling vgchange -ay and also when trying to
run the activation directly on command line:

[root@rhel6-a ~]# lvs
  LV      VG       Attr       LSize Pool Origin Data%  Move Log Cpy%Sync Convert
  lv_root VolGroup -wi-ao---- 7.54g                                             
  lv_swap VolGroup -wi-ao---- 1.97g                                             
  lvol0   vg       -wI------- 2.00g                                             
[root@rhel6-a ~]# lvchange -ay vg/lvol0
Segmentation fault

Fixed by:
Comment 2 Nenad Peric 2013-10-01 08:46:45 EDT
Marking verified with:


No segfault encountered with multiple reboots and activations/deactivations.
Comment 3 errata-xmlrpc 2013-11-21 18:28:26 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.