Public bug reported: I am testing various lxc templates from Ubuntu 12.10, and noticed this:
% lxc-create -t busybox -n bb00 % lxc-clone -o bb00 -n bb01 % du -sh /var/lib/lxc/bb?? 1.7M /var/lib/lxc/bb00 440M /var/lib/lxc/bb01 The problem is, that you copy /bin from bb00, which is ONE busybox with 281 hardlinks, once cloned to bb01, you copied all hardlinked busybox now individual files, blowing up from 1.7M to 440M. I think it relates that you use rsync in lxc-clone, which disregards hardlinks. ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1085057 Title: lxc-clone of busybox lxc 440M instead 1.7M To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1085057/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs