Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2012 15:10:45 +0200
From:      "Michael Ross" <gmx@ross.cx>
To:        freebsd-questions@freebsd.org
Subject:   Question about gmirror priorities
Message-ID:  <op.wg0z77t4g7njmm@michael-think>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wg0z77t4g7njmm>