lxc-clone makes new copies of each hardlinked file
Bug #1441307 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using lxc 1.0.7 from the stable PPA on precise.
When I use lxc-clone to copy a container running MAAS, which uses hardlinks to manage images, each hardlinked file is created as a new file in the cloned rootfs, increasing my file system size by hundreds of GB's.
rsync is not using -H - just rsync -a.
affects: | lxc → lxc (Ubuntu) |
To post a comment you must log in.
I've attempted to fix this, see my branch on github:
https:/ /github. com/Azendale/ lxc/tree/ fix-rsync- hardlinks
I'm not quite sure how I go about building a package from a github branch that I could test. If Jason Hobbs knows how to do that and could test if it fixes the issue, that would be great!