On Fri, June 4, 2010 03:29, sensille wrote:
> Hi,
>
> I have a small question about the depth of scrub in a raidz/2/3
> configuration.
> I'm quite sure scrub does not check spares or unused areas of the disks
> (it
> could check if the disks detects any errors there).
> But what about the parity? Obviously it has to be checked, but I can't
> find
> any indications for it in the literature. The man page only states that
> the
> data is being checksummed and only if that fails the redundancy is being
> used.
> Please tell me I'm wrong ;)

I believe you're wrong.  Scrub checks all the blocks used by ZFS,
regardless of what's in them.  (It doesn't check free blocks.)

> But what I'm really targeting with my question: How much coverage can be
> reached with a find | xargs wc in contrast to scrub? It misses the
> snapshots, but anything beyond that?

Your find script misses the redundant data; scrub checks it all.

It may well miss some of the metadata as well, and probably misses the
redundant copies of metadata.

-- 
David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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

Reply via email to