Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 09:39:09 +0200
From:      Nico -telmich- Schottelius <nico-freebsd-geom@schottelius.org>
To:        David Cecil <david.cecil@nokia.com>, Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Size of metadate?
Message-ID:  <20070627073909.GB19980@schottelius.org>
In-Reply-To: <20070627071225.GD21749@garage.freebsd.pl> <46819E36.70503@nokia.com>
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>

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

--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--



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