Bug#561931: lvm2: lvextends segfaults when trying to extend a LV

Łukasz Piątkowski piontec at gmail.com
Mon Dec 21 10:50:03 UTC 2009


Package: lvm2
Version: 2.02.39-7
Severity: important


I've created new PV on software raid1 device /dev/md4 to extend VG which uses just
/dev/md5:

root at foxtrot:~# pvscan
  PV /dev/md5   VG srv_vg   lvm2 [149.05 GB / 48.00 MB free]
  PV /dev/md4   VG srv_vg   lvm2 [186.27 GB / 186.27 GB free]
  Total: 2 [335.32 GB] / in use: 2 [335.32 GB] / in no VG: 0 [0   ]

root at foxtrot:~# vgs
  VG     #PV #LV #SN Attr   VSize   VFree
  srv_vg   2   1   0 wz--n- 335.32G 186.32G

Now I run pvextend and get:

root at foxtrot:~# lvextend -l+100%PVS /dev/srv_vg/srv_lv
Segmentation fault

in dmesg I'm finding only this:
[  366.308658] lvextend[6026]: segfault at 0 ip 45597c sp 7fff8eb9c7c0 error 4 in lvm[400000+8e000]
[  950.196855] lvextend[6643]: segfault at 0 ip 45597c sp 7fffab8d16c0 error 4 in lvm[400000+8e000]
[  986.671759] lvextend[6664]: segfault at 0 ip 45597c sp 7fff59b49990 error 4 in lvm[400000+8e000]

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                        2.7-18      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3.1     GNU readline and history libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip

Versions of packages lvm2 recommends:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use

lvm2 suggests no packages.

-- no debconf information





More information about the pkg-lvm-maintainers mailing list