From: perth.adelaide@free.fr
To: linux-kernel@vger.kernel.org
Subject: Dangerous libata Data Corruption Bug (2.4 & 2.6)
Date: Sun, 22 May 2005 10:39:40 +0200 [thread overview]
Message-ID: <1116751180.4290454cf0c02@imp2-q.free.fr> (raw)
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
"
next reply other threads:[~2005-05-22 8:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-22 8:39 perth.adelaide [this message]
2005-05-22 16:24 ` Jeff Garzik
[not found] <46UjR-6u6-5@gated-at.bofh.it>
2005-05-22 20:25 ` Hans Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1116751180.4290454cf0c02@imp2-q.free.fr \
--to=perth.adelaide@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®