https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236006

Rob <rob.fx...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rob.fx...@gmail.com

--- Comment #1 from Rob <rob.fx...@gmail.com> ---
Hey Sergey,

As of R343993, bectl accepts the '-o' flag to destroy the origin snapshot when
you a boot environment is destroyed.

>From the man page (CURRENT): 
    ...
    ...
    destroy [-Fo] {beName | beName@snapshot}
               Destroys the given beName boot environment or beName@snapshot
               snapshot without confirmation, unlike in beadm.  Specifying -F
               will automatically unmount without confirmation.

               By default, bectl will warn that it is not destroying the
               origin of beName.  The -o flag may be specified to destroy the
               origin as well.
    ...
    ...


so, the following *should* delete the origin snapshot as well:

$ bectl create backup

$ bectl destroy -o backup


I say should because deleting the origin snapshot with the '-o' flag failed for
me. I submitted a bug report and a proposed patch: 

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236043

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to