Bug#419209: More info
Daniel Bakken
daniel at economicmodeling.com
Tue Jun 3 18:42:02 UTC 2008
I've found an easy way to reproduce this bug for testing. Create a shell
script that loops on lvcreate and lvremove. Here is my version:
#!/bin/bash
COUNTER=0
CYCLES=100
while [ $COUNTER -lt $CYCLES ]; do
lvcreate --snapshot -nbackup -L90G /dev/VG/LV
lvremove -f /dev/VG/backup
let COUNTER=COUNTER+1
echo $COUNTER
done
#end
To trigger the bug, run a command that writes to the filesystem on
/dev/VG/LV. For example, start the process "dd if=/dev/urandom
of=/data/testfile" while simultaneously running the above shell script. The
system should hang before the script is finished.
This bug is NOT present in the LVM2 upstream package version 2.02.36
obtained from ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.36.tgz. I could
not cause a crash using the vanilla sources. This leads me to believe that
Debian has introduced the bug in the LVM2 package.
--
Daniel Bakken
Systems Administrator
Economic Modeling Specialists Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20080603/aa712321/attachment.htm
More information about the pkg-lvm-maintainers
mailing list