I can only speak anecdotally, but I believe it does.

Watching zpool iostat it does read all data on both disks in a mirrored pair.

Logically, it would not make sense not to verify all redundant data. The point of a scrub is to ensure all data is correct.

On 2012-10-25 10:25, Jim Klimov wrote:

Hello all,

I was describing how raidzN works recently, and got myself wondering:
does zpool scrub verify all the parity sectors and the mirror halves?
That is, IIRC, the scrub should try to read all allocated blocks and
if they are read in OK - fine; if not - fix in-place with redundant
data or copies, if available.

On the other hand, if the first tested mirror half/block copy/raidzN
permutation has yielded no errors, are other variants still checked?

The descriptions I've seen so far put an emphasis on verifying all
copies of the blocks and probably all the mirror halves - perhaps
because these examples make it easier to describe the concept.

I don't think I saw a statement that for raidzN blocks all of the
combinations are verified to work (plain userdata sectors, and parity
permutations with these sectors). Can someone in the know say "yes"? ;)

Thanks,
//Jim
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
  • [zfs-discuss] Scr... Jim Klimov
    • Re: [zfs-dis... Karl Wagner
      • Re: [zfs... Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
        • Re: ... Jim Klimov
          • ... Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
          • ... Timothy Coalson
            • ... Jim Klimov
              • ... Karl Wagner
                • ... Jim Klimov
                • ... Ray Arachelian
                • ... Toby Thain
                • ... Jim Klimov

Reply via email to