lxc-clone fails for xfs fs on lvm
Bug #1013549 reported by
Maurizio Sambati
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
cloning an lvm backed container fails when the fs is xfs and a snapshot is used for clone. The reason is that xfs has an uuid that is checked before mounting. The issue can be solved regenerating the uuid of the snapshot. This patch seems to work:
198a199,202
>
> # change filesystem UUID if it is an xfs filesystem
> xfs_admin -u /dev/$lxc_
>
Changed in lxc (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: patch |
To post a comment you must log in.
Thanks for reporting this bug.
If I understand right (after testing), you have no problems with cloning
the container, or running the original or cloned container, but running
both at the same time fails, right?
If I am understanding you correctly. Thanks for the suggested fix!