From owner-freebsd-geom@FreeBSD.ORG Tue Dec 2 21:44:55 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998C0106564A for ; Tue, 2 Dec 2008 21:44:55 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by mx1.freebsd.org (Postfix) with ESMTP id 45DA48FC16 for ; Tue, 2 Dec 2008 21:44:55 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa05.telusplanet.net ([204.209.205.55]) by priv-edmwes25.telusplanet.net (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20081202205039.DTYU3157.priv-edmwes25.telusplanet.net@priv-edmwaa05.telusplanet.net> for ; Tue, 2 Dec 2008 13:50:39 -0700 Received: from oliver.bc.lan (d75-157-20-238.bchsia.telus.net [75.157.20.238]) by priv-edmwaa05.telusplanet.net (BorderWare Security Platform) with ESMTP id D29815143004C4A2 for ; Tue, 2 Dec 2008 13:50:38 -0700 (MST) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 46DAE646B for ; Tue, 2 Dec 2008 12:50:38 -0800 (PST) Message-ID: <49359F9D.4090200@telus.net> Date: Tue, 02 Dec 2008 12:50:37 -0800 From: Carl User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gmirror, identical priority values X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 21:44:55 -0000 What are the consequences of creating a mirror provider using gmirror with more than one consumer having the *same* priority value. This is an easy mistake to make and it can't easily be fixed because gmirror provides no way to change priority after the fact. For what it's worth, I'm using the round-robin balancing algorithm, but as I understand it, priority isn't just used for the balancing algorithm. Note how even documentation in FreeBSD Diary makes this mistake: http://www.freebsddiary.org/gmirror.php And it's easy to find other folks in the mailing lists making this mistake too. Carl / K0802647