<div dir="ltr">I guess I should have mentioned an important change. When I switched from BTRFS to ZFS I also went from LXD 2.0 to 2.13.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 10:27 AM, Joshua Schaeffer <span dir="ltr"><<a href="mailto:jschaeffer0922@gmail.com" target="_blank">jschaeffer0922@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've recently switch from using BTRFS to ZFS backend, and my containers on the ZFS backend aren't inheriting the root device from my default profile:<div><br></div><div> lxduser@raynor:~$ lxc config show fenix</div><div> architecture: x86_64</div><div> [snip]</div><div> devices: {}</div><div> ephemeral: false</div><div> profiles:</div><div> - default</div><div> - 30_vlan_mgmt_server</div><div><br></div><div>The default profile, which the container is using has the root device with a pool specified:</div><div><br></div><div><div> lxduser@raynor:~$ lxc profile show default</div><div> config: {}</div><div> description: Default LXD profile</div><div> devices:</div><div> root:</div><div> path: /</div><div> pool: lxdpool</div><div> type: disk</div><div> name: default</div></div><div><br></div><div>But the container isn't showing a root device (or any device for that matter), and I get an error when I try to set a size limit on the root device for that container:</div><div><br></div><div><div> lxduser@raynor:~$ lxc config device set fenix root size 50G</div><div> error: The device doesn't exist</div></div><div><br></div><div>Is there a ZFS property that has to be set to get it to inherit the device? I was able to successfully create the root device on another container, but I don't want to create the device on each container, I just want to set it on the profile. I'm on LXD 2.13. Here is my storage device:</div><div><br></div><div><div> lxduser@raynor:~$ lxc storage list</div><div> +---------+--------+---------+<wbr>---------+</div><div> | NAME | DRIVER | SOURCE | USED BY |</div><div> +---------+--------+---------+<wbr>---------+</div><div> | lxdpool | zfs | lxdpool | 15 |</div><div> +---------+--------+---------+<wbr>---------+</div></div><div><br></div><div>Thanks,</div><div>Joshua Schaeffer</div></div>
</blockquote></div><br></div>