Thai Nguyen wrote:
> Hi Darren,
> 
> The program is doing data comparison when data write and read is 
> miss-matched, all information such as drive, stripe, sector, LBAs, etc. are 
> collected where the miss-matched data located and put into a log file or 
> print out.

I don't believe you will ever be able to see that with ZFS.

The reason being is that ZFS checksums all data and metadata on write 
and read and won't return any data to you if the checksum fails and you 
have no redundant copy of it for it to automatically correct it.

Also ZFS is a Copy-On-Write (COW) filesystem so if a file is modified it 
isn't changed in place but instead new blocks are allocated for it. 
This means that any attempt to use lba addressing or similar things is 
likely fundamentally flawed with ZFS because it just doesn't write like 
that, also there may be multiple copies of the data (even without RAID 
you can set copies=2 or copies=3) so which one would the system return 
the information for ?

For more information on ZFS including its on disk format see the 
OpenSolaris ZFS community.

-- 
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to