On Tue, Aug 21, 2018 at 02:40:12PM -0400, Stephen Brown Jr wrote:
> Hello,
>     I am just getting started with LXD. I have an existing zfs pool, and
> want to use a ZFS dataset on that pool to store my containers on.
> 
> I ran the command lxc storage create pool1 zfs source=fast/containers, and
> it appeared to create it, however, I do not see it in the /fast directory
> nor does zpool status list this.

It's not visible under /fast because LXD configures the dataset it
creates to get mounted under its own directory.

It also wouldn't show up in "zpool" because it's a dataset within your
"fast" zpool. You will see it in "zfs list" though.

> It's possible that I don't understand how this works however. I do see it
> created if I run the command lxc storage list, it does indeed show up:
> 
> | pool1   |             | zfs    | fast/containers                    | 0
> 
> 
> I created a container for testing thinking it would show up, but no go on
> that either.
> 
> Would like to understand how this is implemented and what I should expect?
> 
> Thanks,
> Stephen


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: PGP signature

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to