lvextend segfault on logical volume extend

Bug #530240 reported by iMac on 2010-03-01
2
Affects Status Importance Assigned to Milestone
lvm2
Fix Released
Unknown
lvm2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: lvm2

My system is running 2.6.31-20-generic #57-Ubuntu SMP AMD64 (current karmic-proposed).

Below is the series of commands executed on my logical volumes, two of them currently open were extended 20GB (prior to file system resize), and then I wanted to consume the remaining extends on one of them.

Prior to executing these commands I removed two other existing volumes in the same group order to free up the space.

My pv's sit on top of a RAID1 md device as shown below, similar to a debian report here: http://bugs.debian.org/561931

From dpkg:

ii lvm2 2.02.39-0ubuntu11

From dmesg:

[13442.816905] lvextend[6576]: segfault at 0 ip 00000000004564eb sp 00007fff6dbc1a60 error 4 in lvm[400000+8e000]

From console:
root@laptop:/mnt# lvs
  LV VG Attr LSize Origin Snap% Move Log Copy% Convert
  home raid -wi-ao 20.00G
  virt raid -wi-ao 20.00G

root@laptop:/mnt# pvs
  PV VG Fmt Attr PSize PFree
  /dev/md1 raid lvm2 a- 82.02G 42.02G

root@laptop:/mnt# lvextend -L +20G /dev/raid/home
  Extending logical volume home to 40.00 GB
  Logical volume home successfully resized

root@laptop:/mnt# lvextend -L +20G /dev/raid/virt
  Extending logical volume virt to 40.00 GB
  Logical volume virt successfully resized

root@laptop:/mnt# pvs
  PV VG Fmt Attr PSize PFree
  /dev/md1 raid lvm2 a- 82.02G 2.02G

root@laptop:/mnt# lvs
  LV VG Attr LSize Origin Snap% Move Log Copy% Convert
  home raid -wi-ao 40.00G
  virt raid -wi-ao 40.00G

root@laptop:/mnt# pvs
  PV VG Fmt Attr PSize PFree
  /dev/md1 raid lvm2 a- 82.02G 2.02G

root@laptop:/mnt# lvextend -l +100%PVS /dev/raid/home
Segmentation fault

iMac (imac-netstatz) wrote :

It may be worth noting my RAID1 was degraded at the time I executed these commands.

For the keen observer noting the three-disk RAID1 setup, RAID1 provides a convenient method to backup and sync home directories to a second laptop via an external eSATA enclosure.

root@laptop:/mnt# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sda6[1]
      86003840 blocks [3/1] [_U_]

unused devices: <none>
root@laptop:/mnt#

Changed in lvm2:
status: Unknown → New
Changed in lvm2:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.