gnop Q

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Dec 21 05:17:55 PST 2007


On Thu, Dec 20, 2007 at 11:34:10PM +0300, Dmitry Morozovsky wrote:
> Hi there Pawel and colleagues,
> 
> am I right in thinking that there's currently no way to iron gnop provider in 
> meta-data?
> 
> I'm thinking of creating the following geom tree:
> 
> ad{4,6,8,10,12}f
> |
> +> raid3/r0f --+
>                |
> ad12b          |
> |              |
> +> ad12b.nop --+
>                +> r0f.journal
> 
> because journal sector size should be equal to data sector size, which is in 
> this case 2k.
> 
> ad{4,6,8,10}b are used as two gmirrored swaps
> 
> Any thoughts/hints? Thanks in advance.

I'd just create small partition at the begining of raid3/r0f for
journal. What you propose is not best because:
1. Journal is on the same disk as one of the RAID components.
2. Journal is not protected with RAID - ad12 dies and your whole system
   will die.

My suggestion is to create small (~2GB) raid3/r0fa and big raid3/r0fd.
Then use raid3/r0fa as journal provider and raid3/r0fd as data provider.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071221/9145e4ae/attachment.pgp


More information about the freebsd-current mailing list