[Lxc-users] Contents of container deleted during maintenance -- What went wrong??

Serge Hallyn serge.hallyn at ubuntu.com
Mon Sep 23 16:29:44 UTC 2013


Quoting James Crofts (jcrofts at pobox.com):
> I'm an experienced Debian and GNU/Linux user. Last night I was
> trying to get my "torrent" container working after the upgrade to
> Debian Wheezy. The contents of /lxc/torrent, which contained the
> directory hierarchy of the "torrent" container with the help of
> AUFS, were deleted at some point during the proceedings, and I can't
> figure out why. Is it possible `lxc-destroy -n torrent' or
> `lxc-execute -n torrent' could have caused these files to be
> deleted? Is a catastrophic malfunction of AUFS a possibility? I
> *definitely* never called `rm', particularly not with any wildcards.
> 
> I never plan to do this complicated AUFS setup again for a
> container, but to summarize:
> /lxc/base - hierarchy common to all containers
> /lxc/torrent_rw - differences between /lxc/torrent and /lxc/base are
> stored here
> /lxc/torrent - root of container "torrent"'s hierarchy (contents
> mysteriously deleted)

lxc-destroy does remove the container's rootfs.

-serge




More information about the lxc-users mailing list