Re: Question about gmirror priorities

2012-07-06 Thread Adam Vande More
On Fri, Jul 6, 2012 at 8:10 AM, Michael Ross  wrote:

> Hi,
>
> the manpage says for ``gmirror label'':
>
> The order of components is important,
> because a component's priority is based on its position
> (starting from 0 to 255).
>
>
> so I would expect to have different priorities for the components,
> yet both are listed with a priority of 0:
>

I would expect components to have a different priority if I assigned them
one.  Otherwise I would assume they have the default priority.  I don't
know if makes it makes any difference for the algo you are running anyways.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Question about gmirror priorities

2012-07-06 Thread Michael Ross

Hi,

the manpage says for ``gmirror label'':

The order of components is important,
because a component's priority is based on its position
(starting from 0 to 255).


so I would expect to have different priorities for the components,
yet both are listed with a priority of 0:


gmirror list

Geom name: gm0
State: COMPLETE
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 1162650455
Providers:
1. Name: mirror/gm0
   Mediasize: 320072932864 (298G)
   Sectorsize: 512
   Mode: r2w2e5
Consumers:
1. Name: ad4
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2769583838
2. Name: ad6
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 540951176


Where is my misunderstanding?

Regards,

Michael
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"