"Scott Laird" <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 25, 2008 at 1:57 PM, Marcus Sundman <[EMAIL PROTECTED]>
> wrote:
> > I don't want to scrub several TiB of data just to verify a 2 MiB
> > file. I want to verify just the data of that file. (Well, I don't
> > mind also verifying whatever other data happens to be in the same
> > blocks.)
> 
> Just read the file.  If the checksum is valid, then it'll read without
> problems.  If it's invalid, then it'll be rebuilt (if you have
> redundancy in your pool) or you'll get I/O errors (if you don't).

So what you're trying to say is "cat the file to /dev/null and check
for I/O errors", right? And how do I check for I/O errors? Should I run
"zpool status -v" and see if the file in question is listed there?

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

Reply via email to