From owner-freebsd-current@FreeBSD.ORG Wed Jul 29 14:08:16 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 361821065677 for ; Wed, 29 Jul 2009 14:08:16 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 57B3B8FC21 for ; Wed, 29 Jul 2009 14:08:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5C8A345C8A; Wed, 29 Jul 2009 16:08:08 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4C17245684; Wed, 29 Jul 2009 16:07:54 +0200 (CEST) Date: Wed, 29 Jul 2009 16:08:19 +0200 From: Pawel Jakub Dawidek To: Harald Schmalzbauer Message-ID: <20090729140818.GH1586@garage.freebsd.pl> References: <4A6F66BD.2030705@omnilan.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GLp9dJVi+aaipsRk" Content-Disposition: inline In-Reply-To: <4A6F66BD.2030705@omnilan.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: 'gmirror stop' instantly restarts mirror X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 14:08:16 -0000 --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--