public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dangerous libata Data Corruption Bug (2.4 & 2.6)
@ 2005-05-22  8:39 perth.adelaide
  2005-05-22 16:24 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: perth.adelaide @ 2005-05-22  8:39 UTC (permalink / raw)
  To: linux-kernel

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
"

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <46UjR-6u6-5@gated-at.bofh.it>]

end of thread, other threads:[~2005-05-22 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-22  8:39 Dangerous libata Data Corruption Bug (2.4 & 2.6) perth.adelaide
2005-05-22 16:24 ` Jeff Garzik
     [not found] <46UjR-6u6-5@gated-at.bofh.it>
2005-05-22 20:25 ` Hans Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox