Comment 1 for bug 1212414

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

My original lxcapi_clone plan included a 'lxc.snapshots' configuration file entry which would get bumped in the original container by lxcapi_clone, and dec'd by lxc-destroy. However, overlayfs is the only backing store that needs this, and doing this unilaterally would be wrong since in the btrfs case the original doesn't need to stick around.

So let me think a bit more if there's any more elegant solution, and please anyone chime in if you have one. Otherwise I'll probably go with lxc.snapshots after all, and just bump it at lxc-clone -B overlayfs -s.