How to speed up slow zpool scrub?

Miroslav Lachman 000.fbsd at quip.cz
Tue Apr 26 16:30:41 UTC 2016


Jeremy Faulkner wrote on 04/26/2016 17:59:
>
>
> On 2016-04-26 11:08 AM, Miroslav Lachman wrote:
>> Jeremy Faulkner wrote on 04/26/2016 17:01:
>>> zfs get all tank0
>>
>> I set checksum=fletcher4 and compression=lz4 (+ atime & exec to Off),
>> anything else is in default state.
>>
>> There are 19 filesystems on tank0 and each have about 5 snapshots.
>>
>> I don't know how long scrub runs on some others system. If it is limited
>> by CPU, or disk IOps... but for me 3 - 4 days are really long.

[...]

> Check the drive health with smartctl (part of sysutils/smartmontools).
> Are the drives desktop drives or nas drives? In gstat is one drive
> busier than the rest? If so, replace that drive.

Drives are OK, smartd is running on the background, I have monitoring of 
some SMART values and all drives are loaded equally.

Model Family:     Seagate NAS HDD
Device Model:     ST4000VN000-1H4168

Miroslav Lachman


More information about the freebsd-fs mailing list