On March 6, 2007 11:23:26 AM -0800 Brian Gao <[EMAIL PROTECTED]> wrote:
ZFS claims that it can recover user error such as accidentally deleting
of files. How does it work? Does it only work for mirrored or RAID-Z
pool? What is the command to perform the task?

zfs snapshot

Also for COW, I understand that during the transaction (while data is
been undated), ZFS keeps a copy of the previous data. However, once the
transaction is successfully completed, isn't it the case that the
previous data blocks are unreferenced and can be used by future writes?

Yes, except of course when you've taken a snapshot.

So there should be no guarantee that the previous data can be recovered.

That's right.  If you haven't taken a snapshot the data is lost.

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

Reply via email to