I'm running nas4free v. 10.3.0.3., using ZFS, with a four 2TB drive RaidZ1. Once a year, I do a complete backup, off-line the oldest drive, replace it with a new drive, and issue the "zpool replace mytank /dev/ada0" command, and it starts the resilver, automatically.
This weekend, I started the process, just like always. At the time, the time-to-completion was about 8 hours. However, now after more than 24 hours, the resilver still isn't done. Looking at the Disks|ZFS|Pools|Information screen, it appears the resilvering process keeps restarting. Right now, its 0.14% done. I know its been at this point several times before.
So, knowing that resilvering puts a strain on the drives, I ran smartctl on each individual drive. The three "old" drives show no errors at all. Everything's "normal".
However, the "new" drive isn't. Here are a few relevant lines from the smartctl output:
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: FAILED! Drive failure expected in less than 24 hours. SAVE ALL DATA. ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 001 001 005 Pre-fail Always FAILING_NOW 0 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0022 001 001 000 Old_age Always - 2000 SMART Error Log Version: 1 ATA Error Count: 270 (device log contains only the most recent five errors)
Yeah, I think the drive is failing.
Now my questions:
1) How do I offline the bad disk? Just like I always do?
2) Will "offline-ing" the bad disk stop the resilver process?
3) After replacing the bad disk, and issuing the
zpool replace command, will the resilver start up again, automatically?
Thanks for your help.