ZFS woes

Dick Hoogendijk dick at nagual.nl
Wed Aug 11 05:28:14 UTC 2010


  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.


More information about the freebsd-questions mailing list