Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 16:08:19 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 'gmirror stop' instantly restarts mirror
Message-ID:  <20090729140818.GH1586@garage.freebsd.pl>
In-Reply-To: <4A6F66BD.2030705@omnilan.de>
References:  <4A6F66BD.2030705@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--GLp9dJVi+aaipsRk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 28, 2009 at 10:59:41PM +0200, Harald Schmalzbauer wrote:
> Hello,
>=20
> I can't remember when I last used it, but doing 'gmirror stop RAIDNAME'=
=20
> should destroy the mirror and stay off, right?
> With today's -current I get:
> GEOM_MIRROR: Device TEST: provider mirror/TEST destroyed.
> GEOM_MIRROR: Device TEST destroyed.
> GEOM_MIRROR: Device mirror/TEST launched (2/2)
>=20
> So the mirror gets relaunchend immediately after destroyed.
> No idea what could be wrong.

The problem might be that you have two GEOM provider representing
exactly the same media, eg. ad0 and ad0c.

Could you send output of:

	# gmirror status TEST
	# gmirror stop TEST
	# gmirror status TEST

You may also want to set kern.geom.mirror.debug to 2 before doing this.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--GLp9dJVi+aaipsRk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFKcFfSForvXbEpPzQRAoKjAJ4he6CVzeCY7bxB9S/5FQs6n7t3SACg7k+G
daHqEOIA9VG1dqsTLPH6etw=
=BSo4
-----END PGP SIGNATURE-----

--GLp9dJVi+aaipsRk--



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