From owner-freebsd-geom@FreeBSD.ORG Wed Jun 27 07:57:52 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F02516A41F; Wed, 27 Jun 2007 07:57:52 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: from denkbrett.schottelius.org (natgw.netstream.ch [62.65.128.28]) by mx1.freebsd.org (Postfix) with ESMTP id 120B413C4AD; Wed, 27 Jun 2007 07:57:51 +0000 (UTC) (envelope-from nico-freebsd-geom@schottelius.org) Received: by denkbrett.schottelius.org (Postfix, from userid 1000) id 035971703A6; Wed, 27 Jun 2007 09:39:09 +0200 (CEST) Date: Wed, 27 Jun 2007 09:39:09 +0200 From: Nico -telmich- Schottelius To: David Cecil , Pawel Jakub Dawidek Message-ID: <20070627073909.GB19980@schottelius.org> References: <20070626220914.GA11511@schottelius.org> <20070626223108.GA19980@schottelius.org> <20070627071225.GD21749@garage.freebsd.pl> <20070626220914.GA11511@schottelius.org> <20070626223108.GA19980@schottelius.org> <46819E36.70503@nokia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <20070627071225.GD21749@garage.freebsd.pl> <46819E36.70503@nokia.com> User-Agent: echo $message | gpg -e $sender -s | netcat mailhost 25 X-Unix-Info: http://unix.schottelius.org/ X-Netzseite: http://nico.schottelius.org/ X-System-Info: denkbrett running Linux 2.6.21.3-denkbrett on i686 Cc: freebsd-geom@freebsd.org Subject: Re: Size of metadate? 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: Wed, 27 Jun 2007 07:57:52 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello David, Pawel! I just rebootet the server to have a clean state: David Cecil [Wed, Jun 27, 2007 at 09:16:06AM +1000]: > [...] > What's the output of "gmirror list"? Is your old mirror set listed? If= =20 > so, then you will want to deactivate the providers before you can clear= =20 > them. ddna045# gmirror list Command 'list' not available. ddna045# dd of=3D/dev/amrd0 if=3D/dev/zero bs=3D512 skip=3D286746623 count= =3D1 dd: /dev/amrd0: Operation not permitted It was clear to me that they need to be deactivated. Pawel Jakub Dawidek [Wed, Jun 27, 2007 at 09:12:26AM +0200]: > On Wed, Jun 27, 2007 at 12:31:08AM +0200, Nico -telmich- Schottelius wrot= e: > [...]=20 > If you have gmirror configured you first need to stop it with > 'gmirror stop raid1' command and then try to write to its components, > but you should use 'seek=3D286746623' instead of 'skip=3D286746623'. >=20 No surprise, just wanted to verify, seek gives the same result: ddna045# dd of=3D/dev/amrd0 if=3D/dev/zero bs=3D512 seek=3D286746623 count= =3D1 dd: /dev/amrd0: Operation not permitted > > The same also happens with gmirror not being loaded. >=20 > That's strange. 'sysctl -b kern.geom.confxml' can give us a hint who > keeps it open. I put the output of it to http://home.schottelius.org/~nico/unix/freebsd/sysctl-kern.geom.confxml-ddn= a045-2007-06-27 Nico --=20 Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGghQduL75KpiFGIwRAl7MAJ9uFo1CCnDkOVBHQa3kdUOe+lBZnACfc5yU KZ3Ks8itD93yEfPuPREXyUw= =Q48V -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--