[rescue] Solaris ZFS questions

Phil Stracchino alaric at metrocast.net
Wed Jan 19 16:06:44 CST 2011

On 01/19/11 16:22, Zachary Giles wrote:
> So, this might be a silly question, but what does zpool scrub do? Is
> your data not safe until then?

Briefly, zpool scrub checks the status of the pool and the integrity of
the devices and data.

"Another reliability feature of ZFS pools is data scrubbing. One problem
with traditional file systems is that the reliability of any data thats
not referenced by the systems normal operation is unknown; you may have
errors that are silently lying in wait to be found when the data is
actually needed. To combat this hazard, ZFS provides a data-scrubbing
feature to verify the integrity of every block of data in a pool. During
a scrub operation, ZFS reads each block and verifies
it against its checksum. If it finds an error on a device that is part
of a mirror or raidz device, ZFS attempts to repair the block;
otherwise, the error is reported."

  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

More information about the rescue mailing list