Public bug reported: On 16.04.1, use lxd init with default responses (zfs, loopback, 10G). Create container with lxc launch. Attempt to resize container root to 20G (larger than loopback file).
lxc set device root size 20G reports no error, but the container still has a 1.1G root as shown by lxc exec <container> df -h It would be ideal to have lxc throw an error of some kind when it does not have enough space to complete the operation. For documentation purposes, the fix is to grow the zfs.img file with truncate, turn on ZFS autoexpand, then perform a zpool online resize. After adding enough loopback device storage, the set command behaves identically but achieves the intended result. ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1636617 Title: lxc set device root size fails silently when out of space To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1636617/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs