What do programs see when ZFS can't deliver uncorrupted data?
Posted
by Jay Kominek
on Stack Overflow
See other posts from Stack Overflow
or by Jay Kominek
Published on 2009-11-12T20:33:03Z
Indexed on
2010/04/24
3:43 UTC
Read the original article
Hit count: 292
Say my program attempts a read of a byte in a file on a ZFS filesystem. ZFS can locate a copy of the necessary block, but cannot locate any copy with a valid checksum (they're all corrupted, or the only disks present have corrupted copies). What does my program see, in terms of the return value from the read, and the byte it tried to read? And is there a way to influence the behavior (under Solaris, or any other ZFS-implementing OS), that is, force failure, or force success, with potentially corrupt data?
© Stack Overflow or respective owner