Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2010 00:09:24 +0900
From:      Randy Bush <randy@psg.com>
To:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: degraded zfs slowdown
Message-ID:  <m2vdczos7v.wl%randy@psg.com>
In-Reply-To: <m2vdczr3be.wl%randy@psg.com>
References:  <m2vdczr3be.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
i managed to tell the controller to ignore the bad drive.  now i have

    # zpool status
      pool: tank
     state: DEGRADED
    status: One or more devices could not be used because the label is missing or
	    invalid.  Sufficient replicas exist for the pool to continue
	    functioning in a degraded state.
    action: Replace the device using 'zpool replace'.
       see: http://www.sun.com/msg/ZFS-8000-4J
     scrub: none requested
    config:

	    NAME        STATE     READ WRITE CKSUM
	    tank        DEGRADED     0     0     0
	      mirror    DEGRADED     0     0     0
		twed1   FAULTED      0     6     0  corrupted data
		twed1   ONLINE       0     0     0

    errors: No known data errors

with zfs whining

    Mar 14 15:05:20 psg root: ZFS: vdev failure, zpool=tank type=vdev.corrupt_data
    Mar 14 15:05:50 psg root: ZFS: vdev failure, zpool=tank type=vdev.corrupt_data
    Mar 14 15:07:50 psg last message repeated 4 times

as the ghostly bad drive does not have a unique name, [how] can i tell
zfs to remove it for the moment?

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2vdczos7v.wl%randy>