[lxc-users] Import Existing LVM Thin Pool Using lxc storage Commands

Fajar A. Nugraha list at fajar.net
Sat Mar 11 13:19:06 UTC 2017


On Fri, Mar 10, 2017 at 11:39 PM, Steven Butterworth <
bworth at physics.utoronto.ca> wrote:

> It appears that, at least by default, the LXD storage API for LVM expects
> to have exclusive control of an entire volume group. I don't have space on
> one of my servers to make a new volume group to give to LXD, but I have
> lots of space in the existing volume group and have created a new LVM to be
> a thin pool. (For consistency with the usual scenario, I have named it
> LXDPool.
>
> Can I use the lxc storage commands to make that the source for an LXD pool
> without endangering my other logical volumes on the shared VG?
>
> Since thin pool requires special parameters even when using standard LVM
commands, my guess is "no".

You should, however, be able to use an LV for zfs (normal LV, not thin
pool), and THEN use the new pool for lxd.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170311/d9a9681f/attachment.html>


More information about the lxc-users mailing list