From owner-freebsd-geom@FreeBSD.ORG Thu Feb 18 22:45:09 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F798106566B for ; Thu, 18 Feb 2010 22:45:09 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 392498FC08 for ; Thu, 18 Feb 2010 22:45:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NiF7M-0006hK-1G for freebsd-geom@freebsd.org; Thu, 18 Feb 2010 23:45:08 +0100 Received: from 93-138-2-177.adsl.net.t-com.hr ([93.138.2.177]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2010 23:45:08 +0100 Received: from ivoras by 93-138-2-177.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2010 23:45:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 18 Feb 2010 23:44:45 +0100 Lines: 13 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 93-138-2-177.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090612) In-Reply-To: Sender: news Subject: Re: 'gmirror clear' error X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 22:45:09 -0000 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.