Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2011 03:32:05 +1100
From:      Jean-Yves Avenard <jyavenard@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   faulted zpool , do not resilver
Message-ID:  <AANLkTi=tUNqo%2B0r6rft_MUwFMx%2BBjBV1bPrL1_kO21-O@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi.

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

it is now showing:
[root@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.
config:

	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
state: DEGRADED
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
config:

	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
JY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=tUNqo%2B0r6rft_MUwFMx%2BBjBV1bPrL1_kO21-O>