[lxc-users] Snashot left behind after deleting container?
Fajar A. Nugraha
list at fajar.net
Thu Sep 19 06:31:37 UTC 2019
On Wed, Sep 18, 2019 at 10:15 PM Lai Wei-Hwa <whlai at robco.com> wrote:
> I don't see it listed when using:* lxc storage volume list*
>
> But it does appear to be a snapshot. How was this generated? Why is it
> there? I see others that have similar naming conventions (ending in a
> number string that I didn't create).
>
So you're asking "what is on my system" to strangers on the internet,
rather than asking your (previous) sysadmin? Right ...
> How do I properly remove this without causing any unintended consequences?
>
>
Quick google search points to
https://ubuntu.com/blog/lxd-2-0-your-first-lxd-container (look for
"Snapshot management")
https://discuss.linuxcontainers.org/t/lxd-3-8-has-been-released/3450
https://discuss.linuxcontainers.org/t/lxd-3-11-has-been-released/4245
Newer lxd versions put snapshots under a diffierent directory (e.g.
/var/snap/lxd/common/lxd/storage-pools/default/containers-snapshots/), so
my guess is you're probably running an old version (2.x?).
Also, deleting containers should also delete its snapshot (tested on lxd
3.17). There is "snapshots.pattern" container configuration, but it won't
help much since in your case you already deleted the container. So (again)
my guess is the snapshot is something created by an additional tool
(external to lxd. A manual or scheduled btrfs snapshot, perhaps?). In which
case your (former) sysadmin should know more.
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20190919/a92cc94a/attachment.html>
More information about the lxc-users
mailing list