clear metadata using dd?

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Jan 9 08:39:22 UTC 2007


On Mon, Jan 08, 2007 at 11:13:15PM -0300, Fernan Aguero wrote:
> On 1/8/07, Gary Palmer <gpalmer at freebsd.org> wrote:
> >On Mon, Jan 08, 2007 at 07:45:06PM -0300, Fernan Aguero wrote:
> 
> [snipped]
> 
> >> gama# gstripe label -v gs0 /dev/ad4s3 /dev/ad6s3
> >> Can't store metadata on /dev/ad4s3: Operation not permitted.
> >>
> >> This might be because ad4s3 had been part of a gmirror device before I
> >> reorganized my disks and moved the mirror to the s2 slice.
> 
> [snipped]
> 
> >Any reason that "gstripe clear" or "gmirror clear" doesn't work?  Thats what
> >they're meant to do, as far as I know.
> 
> because ad4s3 is no longer part of gm0?

You get "Operation not permitted." because someone already keep ad4s3
open for writing. Could you send output of 'sysctl -b kern.geom.confxml'
so we can find out who?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20070109/2658ef85/attachment.pgp


More information about the freebsd-geom mailing list