Re: [zfs-discuss] Making ZFS better: file/directory granularity in-place rollback

2010-04-17 Thread Edward Ned Harvey
From: Erik Trimble [mailto:erik.trim...@oracle.com] So the suggestion, or question is: Is it possible or planned to implement a rollback command, that works as fast as a link or re-link operation, implemented at a file or directory level, instead of the entire filesystem? so why

Re: [zfs-discuss] Making ZFS better: file/directory granularity in-place rollback

2010-04-17 Thread Erik Trimble
Edward Ned Harvey wrote: From: Erik Trimble [mailto:erik.trim...@oracle.com] So the suggestion, or question is: Is it possible or planned to implement a rollback command, that works as fast as a link or re-link operation, implemented at a file or directory level, instead of

[zfs-discuss] Making ZFS better: file/directory granularity in-place rollback

2010-04-16 Thread Edward Ned Harvey
AFAIK, if you want to restore a snapshot version of a file or directory, you need to use cp or such commands, to copy the snapshot version into the present. This is not done in-place, meaning, the cp or whatever tool must read the old version of objects and write new copies of the objects. You

Re: [zfs-discuss] Making ZFS better: file/directory granularity in-place rollback

2010-04-16 Thread Erik Trimble
Edward Ned Harvey wrote: AFAIK, if you want to restore a snapshot version of a file or directory, you need to use cp or such commands, to copy the snapshot version into the present. This is not done in-place, meaning, the cp or whatever tool must read the old version of objects and write new

Re: [zfs-discuss] Making ZFS better: file/directory granularity in-place rollback

2010-04-16 Thread Edward Ned Harvey
From: Erik Trimble [mailto:erik.trim...@oracle.com] Not to be a contrary person, but the job you describe above is properly the duty of a BACKUP system. Snapshots *aren't* traditional backups, though some people use them as such. While I see no technical reason why snapshots couldn't