Hey there,

Yes, your approach to grow ZFS is certainly the easiest. I believe you
can also grow the existing file and then tell ZFS about it having grown,
but that's obviously much more error prone.

We have a generic "production setup" document with useful tips when
operating LXD, I'll see that we add something about growing an existing
file backed ZFS pool in there. As well as the restriction that you can
never shrink a ZFS pool and that overcommitting on disk space will lead
to corruption, so some care as to be taken when doing that.

As for managing storage, we're working on this right now. The new LXD
storage API will let you define multiple storage pools, choose which you
want to use on a per-container basis, as well as allocate additional
volumes from any of the pools to be attached to a particular path in the
container.

It shouldn't be too difficult to allow for growing a loop backed bool
through the API. We already have a "size" property in our design for the
initial pool size when creating it, allowing it to be increased should
be pretty straightforward.

** Changed in: lxd (Ubuntu)
       Status: New => Triaged

** Changed in: lxd (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648995

Title:
  Not obvious how to add more storage when you run out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1648995/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to