praecorloth
Contributor
- Joined
- Jun 2, 2011
- Messages
- 159
Hey everyone,
I've been searching around for a while looking for a way to cancel a resilver. I know, generally a terrible idea. But I've got a situation where a resilver has brought a production environment down. I'm running FreeNAS 9.10.1-U2 with a RAID-Z2 (would have liked a pool of mirrors, but this is what I have). The recommendations I've seen thus far are as follows:
scrub -s zpoolname
This doesn't actually stop a resilver. I don't recall the exact error message, but it said something about not being able to do a scrub because a resilver was in process.
zpool remove zpoolname uselessdisk-ID
The remove feature only works on against certain vdevs.
Offline the disk
I can indeed offline the disk, but the read process for the resilver continues against the remaining disks. zpool status shows that it is resilvering, the only difference is that instead of a handful of MB/s, it's running at upwards of 200MB/s. Which is nice, but it's still not fast enough to finish the operation in time for the environment to be useful to the business.
Ultimately, we'd like to resilver starting Friday night, and let it run over the weekend, which is apparently the time it needs. But we just cannot cancel this resilver process. So the big question: Is it possible to cancel the resilver process?
If it matters, I'm using a Xeon E3-1220v3, 32GB (4x8GB) of DDR3 ECC, OS is installed to an SSD, the pool consists of 4x WD Black 2TB. Disks are plugged into the motherboard, which is an ASUS P9D-MV. We have other NAS's with similar configuration, where resilvering has not taken nearly as long.
I've been searching around for a while looking for a way to cancel a resilver. I know, generally a terrible idea. But I've got a situation where a resilver has brought a production environment down. I'm running FreeNAS 9.10.1-U2 with a RAID-Z2 (would have liked a pool of mirrors, but this is what I have). The recommendations I've seen thus far are as follows:
scrub -s zpoolname
This doesn't actually stop a resilver. I don't recall the exact error message, but it said something about not being able to do a scrub because a resilver was in process.
zpool remove zpoolname uselessdisk-ID
The remove feature only works on against certain vdevs.
Offline the disk
I can indeed offline the disk, but the read process for the resilver continues against the remaining disks. zpool status shows that it is resilvering, the only difference is that instead of a handful of MB/s, it's running at upwards of 200MB/s. Which is nice, but it's still not fast enough to finish the operation in time for the environment to be useful to the business.
Ultimately, we'd like to resilver starting Friday night, and let it run over the weekend, which is apparently the time it needs. But we just cannot cancel this resilver process. So the big question: Is it possible to cancel the resilver process?
If it matters, I'm using a Xeon E3-1220v3, 32GB (4x8GB) of DDR3 ECC, OS is installed to an SSD, the pool consists of 4x WD Black 2TB. Disks are plugged into the motherboard, which is an ASUS P9D-MV. We have other NAS's with similar configuration, where resilvering has not taken nearly as long.