root@castiana:~# zfs set quota=2EB encrypted/lxd/containers/zesty
root@castiana:~# echo $?
0
root@castiana:~# zfs get quota encrypted/lxd/containers/zesty
NAME PROPERTY VALUE SOURCE
encrypted/lxd/containers/zesty quota 2E local
So as can be seen, ZFS allows settings quotas that far exceed the pool
size and does so without returning an error. There is therefore no way
for LXD to return an error since the operation succeeded.
My guess is that ZFS will always shows your volume total size to be the
smallest of its quota or any of the quota in the tree, including the
tree root (the pool itself).
** Changed in: lxc (Ubuntu)
Status: New => Invalid
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs