On 7/13/06, Darren Reed <[EMAIL PROTECTED]> wrote:
When ZFS compression is enabled, although the man page doesn't
explicitly say this, my guess is that only new data that gets
written out is compressed - in keeping with the COW policy.

This is all well and good, if you enable compression when you
create the ZFS filesystem.  If I enable compression at some
later point, I may have decided that all the data for that
filesystem is to be compressed (or uncompressed.)  But what I
can't see, currently, is a mechanism to go and compress/uncompress
all of my old data.
        [snip]
Hmmm, well, I suppose the same problem might apply to
encrypting data too...so maybe what I need is a zfs command
that will walk the filesystem's data tree, read in data and
write it back out according to the current data policy.

Such a 'rewrite' command would also solve the expanding RAID-Z problem
discussed here (assuming small stripe reads are supported):
http://www.opensolaris.org/jive/message.jspa?messageID=47053#47053

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

Reply via email to