I'm curious if anyone can point me to a technical discussion of what ZFS does during the resilver process when a hard drive is replaced.
I am currently replacing drives in a four VDEV by eight HD array (thirty-two drives in all) with larger drives. Three VDEVs are complete and took about 12 hours per drive to replace. This fourth VDEV is taking much longer -- about a day & a half per drive. This may be expected. This VDEV has the rattiest drives (there are some 5400 RPM and Green drives in there) and this VDEV was filled with archival data when the array was very full -- probably more than 95% and may be heavily fragmented.
I'm curious if this disk replacement will do anything that may improve performance, like make files contiguous, consolidate free space or something else.
Although my question is more general than specific system related, the system details are in my signature.
I am currently replacing drives in a four VDEV by eight HD array (thirty-two drives in all) with larger drives. Three VDEVs are complete and took about 12 hours per drive to replace. This fourth VDEV is taking much longer -- about a day & a half per drive. This may be expected. This VDEV has the rattiest drives (there are some 5400 RPM and Green drives in there) and this VDEV was filled with archival data when the array was very full -- probably more than 95% and may be heavily fragmented.
I'm curious if this disk replacement will do anything that may improve performance, like make files contiguous, consolidate free space or something else.
Code:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT tank 160T 67.4T 92.2T - - 19% 42% 1.00x ONLINE /mnt
Although my question is more general than specific system related, the system details are in my signature.