[lxc-users] Setting up containers with multiple logical volumes
Alvaro Miranda Aguilera
kikitux at gmail.com
Thu Feb 13 00:02:09 UTC 2014
sorry, i should have been more clear.
seems you are trying to mount /a into /a that won't work.
at those level, where are the logical volumes mounted?
Say you want to share
/media/lv1
into container as /media/lv1
then, the line should be:
lxc.mount.entry = /media/lv1
/var/lib/lxc/ldap_baneling/rootfs/media/lv1 none bind 0 0
do you see the difference with your line?
if you have already mounted your lv inside the container, unmount it, mount
it somewhere else, and try as I tell you, for me it works.
if you have time, I wrote this:
http://kikitux.net/lxc/lxc.html
On Wed, Feb 12, 2014 at 9:34 AM, Joshua Schaeffer
<jschaeffer0922 at gmail.com>wrote:
> Based on the documentation I read, this can be the same, however all I
> really care about is that the LV gets mounted to that location on the host.
>
>
> On Tue, Feb 11, 2014 at 1:13 PM, Alvaro Miranda Aguilera <
> kikitux at gmail.com> wrote:
>
>>
>> On Wed, Feb 12, 2014 at 4:11 AM, Joshua Schaeffer <
>> jschaeffer0922 at gmail.com> wrote:
>>
>>> lxc.mount.entry = /var/lib/lxc/ldap_baneling/rootfs/var
>>> /var/lib/lxc/ldap_baneling/rootfs/var none bind 0 0
>>> lxc.mount.entry = /var/lib/lxc/ldap_baneling/rootfs/tmp
>>> /var/lib/lxc/ldap_baneling/rootfs/tmp none bind 0 0
>>
>>
>>
>> you are mounting the same path in the same path?
>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140213/9d4b093d/attachment.html>
More information about the lxc-users
mailing list