You are not logged in.
I recently began playing with lxc-copy snapshots. As I understand it, one can keep a "base" container and then snapshot it using overlayfs wherein only the differences are written to the filesystem. Pretty cool in concept. So I started to play but am confused why I don't see an overlay in my /proc/mounts ... perhaps I didn't configure it correctly? I am able to use the "snapshot1" container and it appears as I expect on my filesystem.
# lxc-copy -n base -N snapshot1 -B overlayfs -s
# systemctl start lxc@snapshot1
# grep overlay /proc/mounts
#
The clone's config does reference an overlayfs mount but why is it hidden /proc/mounts?
# grep rootfs /var/lib/lxc/snapshot1/config
lxc.rootfs = overlayfs:/var/lib/lxc/base/rootfs:/var/lib/lxc/snapshot1/delta0
lxc.rootfs.backend = overlayfs
Last edited by graysky (2016-12-23 15:40:29)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline