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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Jul 28, 2009 at 10:59:41PM +0200, Harald Schmalzbauer wrote: > Hello, > > I can't remember when I last used it, but doing 'gmirror stop RAIDNAME' > 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) > > 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. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKcFfSForvXbEpPzQRAoKjAJ4he6CVzeCY7bxB9S/5FQs6n7t3SACg7k+G daHqEOIA9VG1dqsTLPH6etw= =BSo4 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090729140818.GH1586>
