[lxc-users] Args for lxd init via script

Mark Constable markc at renta.net
Sun May 21 07:51:05 UTC 2017

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?
> https://stgraber.org/2016/03/26/lxd-2-0-resource-control-412/
> https://github.com/lxc/lxd/blob/master/doc/containers.md#type-disk

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.

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.

More information about the lxc-users mailing list