Question about gmirror priorities

Michael Ross gmx at ross.cx
Fri Jul 6 13:34:26 UTC 2012


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


More information about the freebsd-questions mailing list