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
[-- Attachment #1 --] 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 > so, then you will want to deactivate the providers before you can clear > them. ddna045# gmirror list Command 'list' not available. ddna045# dd of=/dev/amrd0 if=/dev/zero bs=512 skip=286746623 count=1 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 wrote: > [...] > 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=286746623' instead of 'skip=286746623'. > No surprise, just wanted to verify, seek gives the same result: ddna045# dd of=/dev/amrd0 if=/dev/zero bs=512 seek=286746623 count=1 dd: /dev/amrd0: Operation not permitted > > The same also happens with gmirror not being loaded. > > 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-ddna045-2007-06-27 Nico -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGghQduL75KpiFGIwRAl7MAJ9uFo1CCnDkOVBHQa3kdUOe+lBZnACfc5yU KZ3Ks8itD93yEfPuPREXyUw= =Q48V -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070627073909.GB19980>
