'gmirror clear' error

Ivan Voras ivoras at freebsd.org
Thu Feb 18 22:45:09 UTC 2010


James Smallacombe wrote:

> "Can't clear metadata on /dev/ad0: Invalid argument. Not fully done."  
> On both /dev/ad0 and /dev/ad2.

> However, I am concerned about old meta data causing problems. The wiki 
> states:

The most common reason g_metadata_clear() can fail if the old metadata 
is not there - if you cleared it already.

There is of course a sure way to do this yourself if you don't trust 
gmirror - overwrite the last sector on the device from /dev/zero.



More information about the freebsd-geom mailing list