pvscan and vgscan segfault during boot

  • 7004924
  • 24-Nov-2009
  • 08-Nov-2012

Environment

SUSE Linux Enterprise Server 10 Service Pack 2
SUSE Linux Enterprise Server 10 Service Pack 3

Situation

During one in about three boots vgscan or pvscan segfaults:

Waiting for udev to settle...
Scanning for LVM volume groups...
/etc/init.d/boot.lvm: line 29: 13659 Segmentation fault
/sbin/vgscan --mknodes Activating LVM volume groups...
/etc/init.d/boot.lvm: line 29: 13660 Segmentation fault
/sbin/vgchange -a y $LVM_VGS_ACTIVATED_ON_BOOT ..failed Waiting for /dev/vg01/home

System boots into single mode, where manual vgscan's and pvscan's also segfault.

The problem is triggered by differences in the size of device names:

for example79 character names like
"/dev/disk/by-id/ccw-LXD.68000000083405.1000.10.0000000000000d0a0000000000000000",
and smaller names like
"/dev/ccw-LXD332

A reboot, sometimes two or three, resolves the problem.

Resolution

The problem is caused by a Bug in device-mapper.  The device-mapper update corrects the problem. Please update device-mapper to version -1.02.13-6.17.1.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.