On 12/21/10 08:36 AM, Alexander Lesle wrote:
Hello All

I read this thread Resilver/scrub times? for a few minutes
and I have recognize that I dont know the different between
Resilvering and Scrubing. Shame on me. :-(

Scrubbing is used to check the contents of a pool by reading the data and verifying its checksum.

To quote the man page:

         Scrubbing and resilvering are very  similar  operations.
         The  difference  is  that resilvering only examines data
         that ZFS knows to be out  of  date  (for  example,  when
         attaching  a  new  device  to  a  mirror or replacing an
         existing device), whereas scrubbing examines all data to
         discover  silent  errors  due to hardware faults or disk
         failure.

I dont find some declarations in the man-pages and I know the command
to start scrubing "zpool scrub tank"
but what is the command to start resilver and what is the different?

There isn't one.  resilvering starts automatically when a dive is replaced.

--
Ian.

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

Reply via email to