From owner-freebsd-geom@FreeBSD.ORG Tue Aug 1 20:43:48 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B341816A4DA for ; Tue, 1 Aug 2006 20:43:48 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D72443D46 for ; Tue, 1 Aug 2006 20:43:48 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k71Khl2U068379; Tue, 1 Aug 2006 15:43:47 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44CFBD14.1010108@centtech.com> Date: Tue, 01 Aug 2006 15:44:04 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <44CFBBB6.5010906@quip.cz> In-Reply-To: <44CFBBB6.5010906@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1630/Tue Aug 1 10:38:56 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gmirror rebuild does not accept full path to provider 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, 01 Aug 2006 20:43:48 -0000 On 08/01/06 15:38, Miroslav Lachman wrote: > I am not so experienced user of gmirror, but as I read man pages and > some online HowTo, I think this is a bug. > > # gmirror rebuild -v gm0 /dev/ad5 > No such provider: /dev/ad5 > # gmirror rebuild -v gm0 ad5 > GEOM_MIRROR: Device gm0: provider ad5 disconnected. > GEOM_MIRROR: Device gm0: provider ad5 detected. > GEOM_MIRROR: Device gm0: rebuilding provider ad5. > Done. > > Is it expected? > > Other commands (gmirror label, gmirror insert, etc.) accept full path. I think support was committed to the 6.x tree a couple weeks ago: pjd 2006-07-16 15:43:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/geom/mirror g_mirror_ctl.c Log: MFC: sys/geom/mirror/g_mirror_ctl.c 1.17 Always allow to specify components with /dev/ prefix. Revision Changes Path 1.11.2.3 +4 -2 src/sys/geom/mirror/g_mirror_ctl.c -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------