[ug-bosug] Understanding ZFS rollback
Madhan.Balasubramanian at Sun.COM
Madhan.Balasubramanian at Sun.COM
Tue Jul 1 06:26:43 PDT 2008
hmmmm....
reading man pages with correct interpretation is always difficult. :-)
Thanks a lot for your help!
best Regards,
Madhan Kumar
Moinak Ghosh wrote:
> On Tue, Jul 1, 2008 at 6:43 PM, <Madhan.Balasubramanian at sun.com> wrote:
>
>> Hi Moinak,
>>
>> Since I had created the snapshot at the zpool level, I had expected it to
>> work with -r option when executing test at complete.
>>
>> Executing a rollback @ /test/testfs/1 level worked.
>>
>> So wondering what is the use of -r option as testfs and testfs/1 descend
>> from the test.
>>
>
> Just checked the manpage.
> '-r' for taking a snapshot will recursively traverse all child datasets and
> take individual snapshots for each.
> '-r' when doing a rollback is different. While rolling back to a snapshot
> it will rollback and destroy all snapshots newer than the one specified
> (if they exist) for the given dataset. It will not recurse into
> child datasets.
>
> Regards,
> Moinak.
>
>
>> Best Regards,
>> Madhan Kumar
>>
>> Moinak Ghosh wrote:
>>
>> On Tue, Jul 1, 2008 at 6:24 PM, <Madhan.Balasubramanian at sun.com> wrote:
>>
>>
>> Moinak,
>>
>> That's where confusion sets in ..
>>
>> In this case I have only one dataset which is complete and for all the child
>> FS of the zpool test.
>>
>>
>> That is not the case. If you see the the zfs list carefully you have 3
>> independent snapshots, one for the zfs dataset for the pool and one
>> each for the 2 additional child datasets. The pool itself has a default
>> zfs dataset that is mounted under /test.
>>
>> Regards,
>> Moinak.
>>
>>
>> _______________________________________________
>> ug-bosug mailing list
>> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
>> List-Owner: mailto:ug-bosug-owner at opensolaris.org
>> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>>
>>
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080701/3640f753/attachment.html>
-------------- 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/3640f753/attachment.vcf>
More information about the ug-bosug
mailing list