And I forgot

If I do a create and destroy, I would assume my system was back to
same state, but you keep the snapshot when I destroy the clone, dont
know if its working as intended (better safe to keep it than sorry) or
you just didn't think of it :)

http://pastebin.com/XdYZ2eGR

main# zfs list -t all
NAME             USED  AVAIL  REFER  MOUNTPOINT
sys             1.45G  6.36G    31K  none
sys/ROOT         430M  6.36G    31K  none
sys/ROOT/clean   430M  6.36G   430M  legacy
sys/swap        1.03G  7.39G    16K  -
main# beadm create main
Created successfully
main# zfs list -t all
NAME                  USED  AVAIL  REFER  MOUNTPOINT
sys                  1.45G  6.36G    31K  none
sys/ROOT              430M  6.36G    31K  none
sys/ROOT/clean        430M  6.36G   430M  legacy
sys/ROOT/clean@main      0      -   430M  -
sys/ROOT/main           1K  6.36G   430M  none
sys/swap             1.03G  7.39G    16K  -
main# beadm destroy main
Are you sure you want to destroy 'main'?
This action cannot be undone (y/[n]): y
Destroyed successfully
main# zfs list -t all
NAME                  USED  AVAIL  REFER  MOUNTPOINT
sys                  1.45G  6.36G    31K  none
sys/ROOT              430M  6.36G    31K  none
sys/ROOT/clean        430M  6.36G   430M  legacy
sys/ROOT/clean@main      0      -   430M  -
sys/swap             1.03G  7.39G    16K  -
main#

Kalle


On Wed, May 2, 2012 at 10:10 AM, Kalle Møller
<freebsd-questi...@k-moeller.dk> wrote:
> Hi vermaden
>
> I just tested your tool the last few days and I must say I love it
> already. Though I can get one of the commands to work - might be me or
> the syntax
>
> beadm create [-e nonActiveBe | beName@snapshot] beName
>
> I read it as you can do the following
>
> beadm create beName@snapshot beName
>
> Is that correct or is it
>
> beadm create -e beName@snapshot beName
>
> Well neither of those seems to work for me, can you give an example of the 
> use?
>
> Thanks
>
> Kalle
>
> On Fri, Apr 27, 2012 at 1:08 AM, vermaden <verma...@interia.pl> wrote:
>> Hi,
>>
>> I have just created new HOWTO [1] on how to use Boot Environments on
>> FreeBSD with new created utility *beadm* that I put on SourceForge [2].
>>
>> Feel free to send Your ideas/critique about it.
>>
>> [1] http://forums.freebsd.org/showthread.php?t=31662
>> [2] https://sourceforge.net/projects/beadm/
>>
>> Regards,
>> vermaden
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ...
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>
>
> --
>
> Med Venlig Hilsen
>
> Kalle R. Møller



--

Med Venlig Hilsen

Kalle R. Møller
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to