Hello,
 
I have looked into the source code of lxclvm.c and saw that it isn't possible to pass additional arguments to the lvcreate command like "--yes" to overwrite LVM messages like "wipe signatures".
With Trusty I had no problem with this. But in Xenial when I recreate a container with the same name, LVM asks me if I want to wipe the filesystem signatures that are present at a specific offset.
 
As an alternative I'm trying to create the LV before I create the container. But it seems that there aren't any options to tell LXC to use an existing LV.
Mounting the LV and then create a standard LXC container with -B dir on it isn't an option that I would like to use.
 
Does somebody have a solution for this? Or will it possible to pass arguments to the lvcreate/lvremove commands in the future?
 
Thanks in advance!
 
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to