ZFS fast scrub

From Lolly's Wiki
Revision as of 18:02, 7 May 2014 by Lollypop (talk | contribs) (Die Seite wurde neu angelegt: „Kategorie:ZFS Kategorie:Solaris NEVER DO THIS!!! If you need a fast scrub to get to production state after an bloody hard unplanned downtime... and so …“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Kategorie:ZFS Kategorie:Solaris

NEVER DO THIS!!!


If you need a fast scrub to get to production state after an bloody hard unplanned downtime... and so on... I would expect you to not to do this.

But it worked for me:

# echo "zfs_scrub_delay/W0" | mdb -kw
zfs_scrub_delay:0x4             =       0x0

This sets the scrub delay to zero... your system will do a lot of scrubbing and not so much other things.

Remember to set it back to the old value later (4 in this example)!

But remember I told you: NEVER DO THIS!!!