`<div dir="ltr">To get back to an online state you need to detach the offline disk:<div><br></div><div>zpool detach <span style="font-size:12.8px">B-034 </span><span style="font-size:12.8px">c10t50000C0F0132772Ed0s0</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If the corrupted file is in any snapshots those snapshots will have to be destroyed to stop it from being found as a corruption during a scrub.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">-Chip</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 9:53 AM, <span dir="ltr"><<a href="mailto:steve@linuxsuite.org" target="_blank">steve@linuxsuite.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Howdy!<br>
<br>
I had a corrupted file during resilvering after a drive<br>
failure/replacment, I replaced the file from a backup and the<br>
pool started to resilver again. If finished and is still in a<br>
state<br>
that shows DEGRADED with file errors. I can read the file fine and md5sum<br>
checks out.<br>
<br>
What do I need to do to put this pool into an ONLINE state and<br>
remove the error?<br>
Or is this pool still problematic??<br>
<br>
thanx - steve<br>
<br>
pool: B-034<br>
state: DEGRADED<br>
status: One or more devices has experienced an error resulting in data<br>
corruption. Applications may be affected.<br>
action: Restore the file in question if possible. Otherwise restore the<br>
entire pool from backup.<br>
see: <a href="http://illumos.org/msg/ZFS-8000-8A" rel="noreferrer" target="_blank">http://illumos.org/msg/ZFS-<wbr>8000-8A</a><br>
scan: resilvered 3.46T in 28h19m with 3 errors on Sun Jan 22 17:43:53 2017<br>
config:<br>
<br>
NAME STATE READ WRITE CKSUM<br>
B-034 DEGRADED 0 0 3<br>
raidz1-0 DEGRADED 0 0 6<br>
c0t5000C500571D5D9Fd0s0 ONLINE 0 0 0<br>
c0t5000C500571D69D3d0s0 ONLINE 0 0 0<br>
c10t50000C0F01F82C82d0s0 ONLINE 0 0 0<br>
c10t50000C0F01F84B6Ad0s0 ONLINE 0 0 0<br>
replacing-4 DEGRADED 0 0 0<br>
c10t50000C0F0132772Ed0s0 OFFLINE 0 0 0<br>
c10t5000039578C8A83Ed0s0 ONLINE 0 0 0<br>
c10t50000C0F0136989Ad0s0 ONLINE 0 0 0<br>
c10t50000C0F01327226d0s0 ONLINE 0 0 0<br>
c10t50000C0F01327316d0s0 ONLINE 0 0 0<br>
<br>
errors: Permanent errors have been detected in the following files:<br>
<br>
B-034@nov_5_2016:/51/17/<wbr>1000621751.bkt<br>
<br>
<br>
______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
</blockquote></div><br></div>
`