From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 05:28:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87AB91065689 for ; Wed, 11 Aug 2010 05:28:14 +0000 (UTC) (envelope-from dick@nagual.nl) Received: from mail.nagual.nl (cc535223-a.groni1.gr.home.nl [82.73.72.175]) by mx1.freebsd.org (Postfix) with ESMTP id 099D58FC13 for ; Wed, 11 Aug 2010 05:28:13 +0000 (UTC) Received: from [192.168.11.34] [192.168.11.34] by arwen (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1B693B; Wed, 11 Aug 2010 07:29:57 +0200 Message-ID: <4C6234F5.7090700@nagual.nl> Date: Wed, 11 Aug 2010 07:28:21 +0200 From: Dick Hoogendijk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> <4C622FA2.9050504@nagual.nl> In-Reply-To: <4C622FA2.9050504@nagual.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AxigenSpam-Level: 4 Subject: Re: ZFS woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2010 05:28:14 -0000 On 11-8-2010 7:05, Dick Hoogendijk wrote: > On 11-8-2010 0:52, Dale Scott wrote: [cut the former message..] I just found out that the process to repair offending disks with GEOM errors, bad labels etc.. can be repaired a lot quicker. # gmirror label -vb round-robin gm0 /dev/ad12 ## -- disk with vdev error # gmirror stop gm0 # gmirror clear /dev/ad12 # if=/dev/zero of=/dev/ad12 bs=1m count=1 ## -- removes all partition data This leaves me with a completely healthy disk that makes zfs happy ;) Repeat for all other "faulthy" disks.