faulted zpool , do not resilver

Jean-Yves Avenard jyavenard at gmail.com
Sat Jan 8 16:32:07 UTC 2011


I have a raidz2 pool on which I'm trying to replaced two of the drives.

it is now showing:
[root at server4 ~]# zpool import
  pool: pool
    id: 890764434375195435
 state: DEGRADED
action: The pool can be imported despite missing or damaged devices.  The
	fault tolerance of the pool may be compromised if imported.

	pool                       DEGRADED
	  raidz2                   DEGRADED
	    ada5                   ONLINE
	    ada6                   ONLINE
	    ada2                   ONLINE
	    ada1                   ONLINE
	    replacing              DEGRADED
	      1880266799568700877  UNAVAIL  cannot open
	      ada4                 ONLINE
	    replacing              DEGRADED
	      1406029845814225421  UNAVAIL  cannot open
	      ada3                 ONLINE

Previously, it was resilvering, for 36 hours later it was still not
completed and it was showing:
Problems with ZFS:   pool: pool
status: One or more devices has experienced an error resulting in data
	corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
	entire pool from backup.
  see: http://www.sun.com/msg/ZFS-8000-8A
scrub: resilver completed after 307445734561825853h19m with 7 errors
on Sat Jan  8 02:19:18 2011

	NAME                       STATE     READ WRITE CKSUM
	pool                       DEGRADED     0     0     7
	  raidz2                   DEGRADED     0     0    42
	    ada5                   ONLINE       0     0     0  2.74G resilvered
	    ada6                   ONLINE       0     0     0  2.60G resilvered
	    ada2                   ONLINE       0     0     0  2.74G resilvered
	    ada1                   ONLINE       0     0     0  2.60G resilvered
	    replacing              DEGRADED     0     0     0
	      1880266799568700877  UNAVAIL      0 2.57M     0  was /dev/da0
	      ada4                 ONLINE       0     0     0  373G resilvered
	    replacing              DEGRADED     0     0     0
	      1406029845814225421  UNAVAIL      0 2.54M     0  was /dev/da0
	      ada3                 ONLINE       0     0     0  372G resilvered

errors: 2 data errors, use '-v' for a list

As I obviously didn't want to wait another 307445734561825853h19m
(which I believe would be close to the end of the universe). I did a
zpool export pool.
and did a zpool import once again.

Now I can see all the files, everything seems fine.. But no
resilvering is occurring and I have waited over an hour now. Usually
resilvering would happen after only a few seconds.

What should I do?

Thank you

More information about the freebsd-stable mailing list