[OpenIndiana-discuss] how to stop a zfs resilver

Stephan Budach stephan.budach at jvm.de
Thu Jun 5 10:57:45 UTC 2014


I think the only way to stop a resilver is to remove the vdev that is 
currently being resilvered. In your case you should

zfs remove c1t5000CCA225C03FC0d0

I don't know of any other way to stop a resilver

Cheers,
budy

Am 05.06.14 12:05, schrieb John McEntee:
> I have a production system so I should have tried this at the weekend but is it a 3 way mirror across 7 vdevs (is that the right term), see below.
>
> I started of the resilver yesterday, but it is have too much of a performance penalty on of the of VMWARE windows machines. I tried to reduce the priority with
>
> echo zfs_resilver_delay/w8 | mdb -kw
> echo zfs_resilver_min_time_ms/W0t100|mdb -kw
>
> but that did not have a big enough affect.  Next  I tried to stop the resilver so I could run it over the weekend it by running offline but the resilver is still happening. Any idea how I stop it?
>
> Thanks
>
> John
>
>    pool: tank
> 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 Wed Jun  4 16:05:13 2014
>      9.23T scanned out of 14.7T at 143M/s, 11h2m to go
>      1.21T resilvered, 63.00% done
> config:
>
>          NAME                       STATE     READ WRITE CKSUM
>          tank                       DEGRADED     0     0     0
>            mirror-0                 DEGRADED     0     0     0
>              c1t5000CCA225C5244Ed0  ONLINE       0     0     0
>              c1t5000CCA225C54DDDd0  ONLINE       0     0     0
>              c1t5000CCA225C03FC0d0  OFFLINE      0     0     0  (resilvering)
>            mirror-1                 ONLINE       0     0     0
>              c1t5000CCA225C50784d0  ONLINE       0     0     0
>              c1t5000CCA225C5502Ed0  ONLINE       0     0     0
>              c1t5000CCA225C49869d0  ONLINE       0     0     0
>            mirror-2                 ONLINE       0     0     0
>              c1t5000CCA225C54ED8d0  ONLINE       0     0     0
>              c1t5000CCA225C56814d0  ONLINE       0     0     0
>              c1t5000CCA225C4E775d0  ONLINE       0     0     0
>            mirror-3                 ONLINE       0     0     0
>              c1t5000CCA225C2ADDAd0  ONLINE       0     0     0
>              c1t5000CCA225C04039d0  ONLINE       0     0     0
>              c1t5000CCA225C53428d0  ONLINE       0     0     0
>            mirror-4                 ONLINE       0     0     0
>              c1t5000CCA225C50517d0  ONLINE       0     0     0
>              c1t5000CCA225C55025d0  ONLINE       0     0     0
>              c1t5000CCA225C5660Dd0  ONLINE       0     0     0
>            mirror-5                 ONLINE       0     0     0
>              c1t5000CCA225C484A3d0  ONLINE       0     0     0
>              c1t5000CCA225C4824Dd0  ONLINE       0     0     0
> (yes I know there is a missing disk here, that will be replaced next)
>            mirror-6                 ONLINE       0     0     0
>              c1t5000CCA225C4E366d0  ONLINE       0     0     0
>              c1t5000CCA225C54DDCd0  ONLINE       0     0     0
>              c1t5000CCA225C56751d0  ONLINE       0     0     0
>          logs
>            c1t500A075103053202d0p2  ONLINE       0     0     0
>            c1t500A07510306F9A7d0p2  ONLINE       0     0     0
>          cache
>            c1t500A075103053202d0p3  ONLINE       0     0     0
>            c1t500A07510306F9A7d0p3  ONLINE       0     0     0
>
> errors: No known data errors
>




More information about the openindiana-discuss mailing list