ZFS Mirror resync?
Suppose I have a mirrored zpool and detach one half, and later reattach it. That will cause a resilver which will take many hours (or days) if the zpool is large even if only a small percent of the files have changed in the interim. I'm not sure how resilver works but I assume it at least ends up reading all the in use blocks in both pools.
Is there some way to detach/reattach so that zfs keeps track of what changed in the interim and only uses that info to resync?