Re: writing to raw device

Patrick Finnegan (pat@purdueriots.com)
Sat, 7 Dec 2002 21:47:13 -0500 (EST)


On Sat, 7 Dec 2002, Anu wrote:

> ok -- what I meant is this:
>
> I have a software RAID-5 array with 5 disks (sdd1,2,3,4, sdb1,2) and one
> parity disk.. (sdb2). the device is md0.
>
> I am trying to see if I can figure out the stripe size of the raid-5
> (although I already know it because i configured it) by writing
> consecutively larger blocks on the "/dev/md0" file.. But, I have some
> bizare and random errors (I should get neat dips in the curve once it hits
> the stripe size -- but at best, what I currently get is random).

The first problem you're going to have is that putting multiple RAID
'physical devices' on the same disk will make your performance go to shit.
Try it with just one partition per disk.

Pat

--
Purdue Universtiy ITAP/RCS
Information Technology at Purdue
Research Computing and Storage
http://www-rcd.cc.purdue.edu

- 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/