Public bug reported:

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_vg/$lxc_new && xfs_admin -U generate 
> /dev/$lxc_vg/$lxc_new
>

** 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/1013549

Title:
  lxc-clone fails for xfs fs on lvm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1013549/+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