Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2012 12:18:58 +1100
From:      Mark Gladman <mark@legios.org>
To:        <freebsd-doc@freebsd.org>
Subject:   FreeBSD documentation help - new graid3 page.
Message-ID:  <4b483061e36652917b178aa44447026f@legios.org>

next in thread | raw e-mail | index | archive | help
--=_8dfcc4f30d49a5b722f2fc9c432f93f6
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=UTF-8;
 format=flowed

Hey all,

I've written up a (very) rough draft (attached) of a graid3 page for 
the FreeBSD manual and would love some input.

I'm not going to pretend to know how to write in DocBook, so I 
apologise for the low-tech plain text nature of it, but as mentioned at 
this point it's still very much a draft and I'm looking for some 
feedback.

The main issue I'm having is explaining how RAID3 actually works. While 
I get it in principle, I'm not sure how the sector size vs. byte-level 
striping stuff works, nor do I know the algorithm used for calculating 
the default sector size when creating a new array.

Sadly I don't have access to FreeBSD box at the moment so I can't look 
through the source code and see this information.

Any feedback would be greatly appreciated. I've also credited Tom 
Rhodes and Murray Stokely since my documentation is based on their RAID0 
handbook page.

Also, it's possible that people will see this page as unneccesary but I 
thought it might be nice to have it.

Thanks!
Mark

PS. Also note there's some asterisks in the page, this is for footnotes 
on the number of bytes by default and about switches which change this 
functionality respectively. I've also asked pjd@ for some implementation 
information too, but knowing he's insanely busy I'd prefer to not hassle 
him if possible.
--=_8dfcc4f30d49a5b722f2fc9c432f93f6
Content-Transfer-Encoding: base64
Content-Type: text/plain;
 name=graid3.txt
Content-Disposition: attachment;
 filename=graid3.txt

V3JpdHRlbiBieSBNYXJrIEdsYWRtYW4gYmFzZWQgb24gZG9jdW1lbnRhdGlvbiBmcm9tIFRvbSBS
aG9kZXMgYW5kIE11cnJheSBTdG9rZWx5LgoKUkFJRDMgaXMgYSBtZXRob2QgdXNlZCB0byBjb21i
aW5lIHNldmVyYWwgZGlzayBkcml2ZXMgaW50byBhIHNpbmdsZSB2b2x1bWUgd2l0aCBhIGRlZGlj
YXRlZCBwYXJpdHkgZGlz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