zpool resilver restarting

Wes Morgan morganw at chemikals.org
Fri Dec 26 19:22:15 PST 2008


I just did a zpool replace on a new drive, and now it's resilvering.
Only, when it gets about 20mb resilvered it restarts. I can see all the 
drive activity simply halting for a period then resuming in gstat. I see 
some bugs in the opensolaris tracker about this, but no resolutions. It 
doesn't seem to be related to calling "zpool status" because I can watch 
gstat and see it restarting... Anyone seen this before, and hopefully have 
a workaround...?

The pool lost a drive on Wednesday and was running with a device missing, 
however due to the device numbering changing on the scsi bus, I had to 
export/import the pool to get it to come up, the same for after replacing 
it.


[morganw at volatile:~$]: zpool status media (hangs a bit)
     pool: media
  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.
  scrub: resilver in progress for 0h1m, 0.01% done, 368h10m to go
config:

         NAME                        STATE     READ WRITE CKSUM
         media                       DEGRADED     0     0     0
           raidz2                    DEGRADED     0     0     0
             da2                     ONLINE       0     0     0  20.3M resilvered
             da6                     ONLINE       0     0     0  20.3M resilvered
             da0                     ONLINE       0     0     0  20.3M resilvered
             da7                     ONLINE       0     0     0  17.0M resilvered
             da1                     ONLINE       0     0     0  20.2M resilvered
             da3                     ONLINE       0     0     0  20.2M resilvered
             da5                     ONLINE       0     0     0  19.2M resilvered
             replacing               DEGRADED     0     0     0
               17628927049345412941  UNAVAIL      3 3.91K     0  was /dev/da4
               da4                   ONLINE       0     0     0  22.6M resilvered

errors: No known data errors
[morganw at volatile:~$]: zpool status media
   pool: media
  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.
  scrub: resilver in progress for 0h0m, 0.00% done, 766h21m to go
config:

         NAME                        STATE     READ WRITE CKSUM
         media                       DEGRADED     0     0     0
           raidz2                    DEGRADED     0     0     0
             da2                     ONLINE       0     0     0  738K resilvered
             da6                     ONLINE       0     0     0  742K resilvered
             da0                     ONLINE       0     0     0  739K resilvered
             da7                     ONLINE       0     0     0  563K resilvered
             da1                     ONLINE       0     0     0  732K resilvered
             da3                     ONLINE       0     0     0  734K resilvered
             da5                     ONLINE       0     0     0  738K resilvered
             replacing               DEGRADED     0     0     0
               17628927049345412941  UNAVAIL      3 4.67K     0  was /dev/da4
               da4                   ONLINE       0     0     0  848K resilvered

errors: No known data errors


More information about the freebsd-fs mailing list