Hi, I am having difficulty understanding ZFS rollback option.
I'll illustrate it with an example: 1.) I have created 2 FS with the following structure: bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT test 137K 19.6G 26.5K /test test/testfs 50K 19.6G 25.5K /test/testfs test/testfs/1 24.5K 19.6G 24.5K /test/testfs/1 2.) I take a snapshot of the complete pool: bash-3.00# zfs snapshot -r test at complete 3.) Now I touch a file to differentitate between the snapshot and current state of the FS. bash-3.00# touch /test/testfs/1/test 4.) I rollback to the snapshot: bash-3.00# zfs rollback test at complete bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT test 205K 19.6G 26.5K /test test at complete 0 - 26.5K - test/testfs 94K 19.6G 25.5K /test/testfs test/testfs at complete 21.5K - 25.5K - test/testfs/1 47K 19.6G 24.5K /test/testfs/1 test/testfs/1 at complete 22.5K - 24.5K - 5.) Ideally, I'd expect that the file that was created after taking snapshot be gone. However, I find that it is still present. bash-3.00# ls -l /test/testfs/1/test -rw-r--r-- 1 root root 0 Jul 1 04:40 /test/testfs/1/test I'll be glad if someone can help me understand why the file hasn't been rolled back. Best Regards, Madhan Kumar -------------- next part -------------- A non-text attachment was scrubbed... Name: Madhan_Balasubramanian.vcf Type: text/x-vcard Size: 174 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080701/9ec66871/attachment.vcf>