[lxc-users] Args for lxd init via script
Fajar A. Nugraha
list at fajar.net
Sun May 21 09:39:26 UTC 2017
On Sun, May 21, 2017 at 2:51 PM, Mark Constable <markc at renta.net> wrote:
> On 5/21/17 4:02 PM, Jeff Kowalczyk wrote:
>> My question, is it reasonable to provide a separate profile and
>>> zfs pool per container and is there a better or more efficient way
>>> to get the same end result?
>> Will disk limits work for you?
> Thanks for the suggestion and links. I'll have to test whether the
> "size" limit is actually reflected within the container so that df
> and other tools can be used to monitor disk usage.
it works for zfs. lxd would set zfs quota property, which would be
displayed correctly in tools like df and such.
btrfs have similar limit setup, but it does NOT show in df.
> For example, PHP's disk_total_space() and disk_free_space() functions
> do work accurately with a zfs pool and seeing that I am working towards
> a LXD plugin for my hosting control panel I really need disk limits to
> work similar to a VPS or Xen VM.
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lxc-users