diff --git a/tests/setup/lvm2_thinp/test.sh b/tests/setup/lvm2_thinp/test.sh index 53f6c7e2..3e5083ca 100755 --- a/tests/setup/lvm2_thinp/test.sh +++ b/tests/setup/lvm2_thinp/test.sh @@ -30,6 +30,9 @@ EOF lvcreate -V 300M -T $VG/$LV_THINPOOL -n $LV_VOLUME mkfs.ext4 /dev/$VG/$LV_VOLUME mount /dev/$VG/$LV_VOLUME /mnt + # Prevent an empty /etc/lvm/devices/system.devices file after a kernel + # panic which will cause failure of pvscan + rm -f /etc/lvm/devices/system.devices mkdir -p /mnt/$VMCORE_PATH cat << EOF > /etc/kdump.conf