[zfs-discuss] zfs replace didn't

Roger Bell_West roger at firedrake.org
Wed Jan 6 19:59:30 EST 2016


On Thu, Jan 07, 2016 at 12:38:46AM +0000, Ray Anthony Uy Pating via zfs-discuss wrote:
>Have you tried zpool clear, then exporting and importing the pool?

zpool export storage sat at load=2 for a while and eventually
completed; import ditto.

Status now reads:

  pool: storage
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
	continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Thu Jan  7 00:43:18 2016
	8.61G scanned out of 22.3T at 9.94M/s, 652h4m to go
	1.03G resilvered, 0.04% done
config:

	NAME                                                 STATE     READ WRITE CKSUM
	storage                                              DEGRADED     0     0     0
	  raidz2-0                                           DEGRADED     0     0     0
	    pci-0000:07:00.0-sas-0x0000000000000000-lun-0    ONLINE       0     0     0
	    pci-0000:07:00.0-sas-0x0100000000000000-lun-0    ONLINE       0     0     0
	    pci-0000:07:00.0-sas-0x0200000000000000-lun-0    ONLINE       0     0     0
	    pci-0000:07:00.0-sas-0x0300000000000000-lun-0    ONLINE       0     0     0
	    pci-0000:07:00.0-sas-0x0400000000000000-lun-0    ONLINE       0     0     0
	    pci-0000:07:00.0-sas-0x0500000000000000-lun-0    ONLINE       0     0     0
	    replacing-6                                      DEGRADED     0     0     0
	      10963629787426664018                           UNAVAIL      0     0     0  was /dev/disk/by-path/pci-0000:07:00.0-sas-0x0600000000000000-lun-0-part1/old
	      pci-0000:07:00.0-sas-0x0600000000000000-lun-0  ONLINE       0     0     0  (resilvering)
	    pci-0000:07:00.0-sas-0x0700000000000000-lun-0    ONLINE       0     0     0

errors: Permanent errors have been detected in the following files:

        <0x52e>:<0x531f>


(As distinct from replacing-6 being UNAVAIL before.)

That excessively high resilver time showed up last time too; it got
faster as it went on.


More information about the zfs-discuss mailing list