José Gomes wrote:
Can we assume that any snapshot listed by either 'zfs list -t snapshot' or 'ls .zfs/snapshot' and previously created with 'zfs receive' is complete and correct? Or is it possible for a 'zfs receive' command to fail (corrupt/truncated stream, sigpipe, etc...) and a corrupt or incomplete snapshot to exist after the command failed? Thoughts on this would be much appreciated.

If a 'zfs recv' fails for any reason (bad stream, system crash, etc), its space will be reclaimed. The snapshot won't appear in the namespace until it has been successfully received.

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

Reply via email to