Size of metadate?
Nico -telmich- Schottelius
nico-freebsd-geom at schottelius.org
Wed Jun 27 07:57:52 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070627/3003ad5d/attachment.pgp
More information about the freebsd-geom
mailing list