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).
So, I went and looked and figured out that the way it works is that there
are problems with the way the raid is set up.. and in this case, does
writing to /dev/md0 really do what I think it is doing?
I am not even sure that this is the right group to ask this question --
but, here it is
On Sat, 7 Dec 2002, Mark Hahn wrote:
> > can someone tell me where to read about writing to raw devices?
> > (like calling write() on /dev/md0).
>
> that's not a meaningful question - there's nothing to say about it:
> it works, you can do that, no problem. do you mean "how do do this
> efficiently?" or "what's the benefit to doing this?"
>
>
>
********************************************************************************
Think, Train, Be
*******************************************************************************
-
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/
This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:31 EST