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
Server Team, which is subscribed to lxc in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to