On Oct 17, 2010, at 6:17 AM, Edward Ned Harvey wrote:

>> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
>> boun...@opensolaris.org] On Behalf Of Edward Ned Harvey
>> 
>> If scrub is operating at a block-level (and I think it is), then how
>> can
>> checksum failures be mapped to file names?  For example, this is a
>> long-requested feature of "zfs send" which is fundamentally difficult
>> or
>> impossible to implement.
> 
> How about that.  I recently learned that "zfs diff" does exist already, in
> b147 of openindiana.  That means it's already in the oracle opened-source
> zfs code, but apparently too new to be included in any of the present
> releases.
> 
> So it seems, zfs does have some ability to figure out which file owns a
> particular block on disk.

uhm... of course this exists.  The problem is that the efficient mapping
goes the other way: files to blocks.  Snapshots further complicate this 
because a block may belong to a filename in one snapshot but the file 
got renamed in another snapshot.  Deduplication also complicates this
because a block may be referenced in multiple files. Maintaining this
mapping live is probably not worth the effort.
 -- richard

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

Reply via email to