Found this on solarisinternals.com. <<Run zpool scrub on a regular basis to identify data integrity problems. If you have consumer-quality drives, consider a weekly scrubbing schedule. If you have datacenter-quality drives, consider a monthly scrubbing schedule. >>
Scrub is really stressing the disks, so it might not be a best practice to do it every day. regards 2009/12/10 Thomas Leveille <thomas.leveille at gmail.com>: > Hi all, > > A quick question regarding zfs scrubbing. According to the best > practices, we should check the integrity of our datas regularly with > the zfs scrub command. > > Sometimes you just don't really know when it is the best time to do > such things. Say that during the day your server must be fully > available (I mean no background task that generate additionnal I/Os) > and during the night there are recollections tasks that must be run > and you want it to be backuped as fast as possible. > > When you start a scrub, does it scrub a whole pool from zero or does > it start from last checked blocks ? What I would like to know is what > happen if I start a scrub, stop it, then start it a few minutes later. > Will I be able to scrub a whole pool by launching several relatively > small scrubs sessions or should I run it only one time a week and > waiting for it to finish. I was contemplating the idea of doing a > script, which checks for the i/o load of the machine using dtrace and > start or stop automatically the scrubbing process according to rules > (like minimum and maximum of applications generated I/O's). > > Regards > > -- > Thomas Leveille > _______________________________________________ > ug-chosug mailing list > ug-chosug at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ug-chosug >
