HOWTO: FreeBSD ZFS Madness (Boot Environments)
Kalle Møller
freebsd-questions at k-moeller.dk
Wed May 2 08:47:16 UTC 2012
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 at 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 at 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-questions at 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 at snapshot] beName
>
> I read it as you can do the following
>
> beadm create beName at snapshot beName
>
> Is that correct or is it
>
> beadm create -e beName at 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 <vermaden at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
> --
>
> Med Venlig Hilsen
>
> Kalle R. Møller
--
Med Venlig Hilsen
Kalle R. Møller
More information about the freebsd-questions
mailing list