** Changed in: lxc (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1591513
Title:
lxc-copy: bdev/bdev.c: bdev_copy: 381 no such block device type:
overlay
Status in lxc package in Ubuntu:
Fix Released
Bug description:
Description: Ubuntu 16.04 LTS
Release: 16.04
lxc:
Installed: 2.0.1-0ubuntu1~16.04.1
linux-image-virtual:
Installed: 4.4.0.24.25
linux-image-extra-virtual:
Installed: 4.4.0.24.25
Man ref:
http://manpages.ubuntu.com/manpages/xenial/man1/lxc-copy.1.html
Problem:
The man package references 'overlay' as a backing storage type, but when the
following command is executed:
lxc-copy --name=cache --newname overlayfs1 -B overlay --snapshot
The result is:
lxc-copy: bdev/bdev.c: bdev_copy: 381 no such block device type: overlay
lxc-copy: lxccontainer.c: copy_storage: 2844 Error copying storage.
clone failed
Expected result:
An overlay snapshot should be created.
Existing workaround:
Use the deprecated lxc-clone command instead:
lxc-clone --snapshot --backingstore overlayfs --orig cache --new overlayfs1
Steps to recreate:
apt-get update && apt-get install -y lxc
lxc-create --name=cache --template=download -- --dist ubuntu --release trusty
--arch amd64
lxc-copy --name=cache --newname overlayfs1 -B overlay --snapshot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1591513/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp