Messages in this thread | | | Date | Sun, 22 May 2005 10:39:40 +0200 | From | perth.adelaide@free ... | Subject | Dangerous libata Data Corruption Bug (2.4 & 2.6) |
| |
I've been setting up software RAID5/6 file servers for the past few month, and I came accross a data corruption bug using the libata driver : It's not an easy one to find as I need to copy and copy over data to finally have an error (usually betwen 150GB to 2TB).
So far, every server using the libata driver I've setup has this bug
Here's the awful script I've been using to find this bug :
" #!/bin/sh dd if=/dev/urandom of=/tmp/dummy01 bs=1M count=5120 md5sum /tmp/dummy01 > /tmp/dummy.md5 cd /tmp while [ 1 = 1 ] do cp /tmp/dummy01 /tmp/dummy02 rm /tmp/dummy01 cp /tmp/dummy02 /tmp/dummy01 md5sum -cv /tmp/dummy.md5 echo "1" >> /tmp/mdc rm /tmp/dummy02 echo "Tested over: `cat /tmp/mdc | wc -l`0 GB" done " - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |