Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2010 07:28:21 +0200
From:      Dick Hoogendijk <dick@nagual.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: ZFS woes
Message-ID:  <4C6234F5.7090700@nagual.nl>
In-Reply-To: <4C622FA2.9050504@nagual.nl>
References:  <4C61B215.9030603@nagual.nl> <01FB8F39BAD0BD49A6D0DA8F7897392904F7BD@Mercury.galaxy.lan.lcl> <i3sfru$tlt$1@dough.gmane.org> <cdb7e80c52f85.4c6183b8@shaw.ca> <4C622FA2.9050504@nagual.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6234F5.7090700>