Hardcoding the snapshot directory to be lxcpath+snaps is somewhat limiting. I have mounted a btrfs subvolume on /var/lib/lxc, which works fine; I can freely clone using btrfs snapshots in less than a second. However, lxc-snapshot fell over completely because /var/lib/lxcsnaps was a different filesystem, so the snapshot failed.
I wound up creating a "container" directory under /var/lib/lxc and overriding lxcpath, so that the "containersnaps" was in the same filesystem. Would it be reasonable to create a config value for the snapshot directory (lxcsnappath) and allow that to point to a hidden directory under the top level lxcpath folder (which would require making lxc-ls smart enough to ignore hidden directories)? Alternatively, the snapshot folder could alternatively be rootfs.snap under the container folder itself (which is virtually guaranteed to be the same filesystem). I would be happy to attempt a patch to make either option available. John -- JOHN PEACOCK senior software build and release engineer www.messagesystems.com twitter @MessageSystems tel 410-872-4910 x239 email john.peac...@messagesystems.com _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel