gmirror rebuild does not accept full path to provider
Eric Anderson
anderson at centtech.com
Tue Aug 1 20:43:48 UTC 2006
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.
------------------------------------------------------------------------
More information about the freebsd-geom
mailing list