From: Mike Hardy <mhardy@h3c.com>
To: linux-raid@vger.kernel.org
Subject: raid5 test array creator (was Re: the dreaded double disk failure)
Date: Sat, 15 Jan 2005 14:52:39 -0800 [thread overview]
Message-ID: <41E99EB7.5090302@h3c.com> (raw)
In-Reply-To: <41E89530.4000707@h3c.com>
[-- Attachment #1: Type: text/plain, Size: 687 bytes --]
Mike Hardy wrote:
> What I'm thinking of doing is writing a small (or, as small as possible,
> anyway) perl program that can take a few command line arguments (like
> the array construction information) and know how to read the data blocks
> on the array, and calculate parity, as a baseline. If perl offends you,
> sorry, I'm quicker at it than C by a long-shot, and I don't really care
> about speed here, just speed of development.
Here's the shell script I'm using as a test harness. It creates a
loopback raid5 system, fills it up with random data, and then takes the
md5sum. It has a few modes of operation (to initialize or not as it
starts or stops the array).
-Mike
[-- Attachment #2: raid5_test_array.sh --]
[-- Type: application/x-sh, Size: 3482 bytes --]
prev parent reply other threads:[~2005-01-15 22:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-13 7:14 the dreaded double disk failure Mike Hardy
2005-01-13 8:37 ` Guy
2005-01-13 8:47 ` Mike Hardy
2005-01-15 3:59 ` Mike Hardy
2005-01-15 22:52 ` Mike Hardy [this message]
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=41E99EB7.5090302@h3c.com \
--to=mhardy@h3c.com \
--cc=linux-raid@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;
as well as URLs for NNTP newsgroup(s).