Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2019 18:59:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyMzUxMzJdIGJlY3RsIGRlc3Ryb3kg4oCmIGNhbm5vdCBk?= =?UTF-8?B?ZXN0cm95IOKApjogZGF0YXNldCBhbHJlYWR5IGV4aXN0cw==?=
Message-ID:  <bug-235132-227-k0wiRZhXmJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235132-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235132-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235132

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

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

--- Comment #1 from Rob <rob.fx907@gmail.com> ---
 (In reply to Graham Perrin from comment #0)

This is normal behavior, although the error message could be more descripti=
ve.

One thing to remember is, bectl creates a snapshot behind the scenes when y=
ou
create a boot environment. A boot environment is cloned from the given
snapshot.

Here's a quick summary of your output, we can see that the 'r342851-with-lo=
cks'
boot environment is backed by the 'r343023@2019-01-14-17:49:17' snapshot. We
can also see that a snapshot was created from the 'r342851-with-locks' boot
environment, that snapshot is named 'r342851-with-locks@2019-01-22-01:34:50=
'.
Looking at boot environment 'r342851',
we see that 'r342851' was created from snapshot
'r342851-with-locks@2019-01-22-01:34:50'. The boot environment 'r342851'
is dependant on the snapshot it is created from,
'r342851-with-locks@2019-01-22-01:34:50'.

You aren't able to destroy 'r342851-with-locks' because 'r342851' depends on
snapshot 'r342851-with-locks@2019-01-22-01:34:50' which
depends on 'r342851-with-locks'. This means 'r342851' depends on
'r342851-with-locks'.


A better error message may be:

root@momh167-gjp4-8570p:~ # bectl destroy r342851-with-locks
cannot destroy 'r342851-with-locks': boot environment has dependent clones/=
boot
environments
    r342851

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235132-227-k0wiRZhXmJ>