> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Roy Sigurd Karlsbakk
> 
> > The vdev only. 

Right on.
Furthermore, as shown in the "zpool status," a 7-disk raidz2 is certainly a 
reasonable vdev configuration.


>  scrub: resilver in progress for 8h46m, 2.31% done, 370h47m to go

Ouch.
I'll just say this much:

During the resilver, be sure to disable autosnapshots and scrubs and "zfs 
sends."  Do everything you can to reduce workload on the system.

Would it help to delete old snapshots?  I'm not sure, but I think it probably 
would.

The time to resilver is determined by how many slabs (stripes, blocks, not sure 
if there's a good or correct terminology here) ... how many slabs exist inside 
that vdev.  All 6 good disks will seek & read their piece of the slab, parity 
is calculated and written to the resilvering disk.  Repeat for all slabs in the 
vdev.  

I think if you destroy snaps, it will reduce the number of slabs that need to 
be processed.  In the future, consider using either (a) mirrors instead of 
raidzN, or (b) disks with higher spindle speeds and lower seek times.

If your HBA supports WriteBack, you might improve resilver speed, by enabling 
WB on the disk which is resilvering.  But you should consider that temporary, 
and go back to WriteThrough after the resilver is completed.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to