Thanks, I'll give this a try.

On Wed, Feb 12, 2014 at 5:02 PM, Alvaro Miranda Aguilera
<[email protected]>wrote:

> 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 <
> [email protected]> 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 <
>> [email protected]> wrote:
>>
>>>
>>> On Wed, Feb 12, 2014 at 4:11 AM, Joshua Schaeffer <
>>> [email protected]> 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
>>> [email protected]
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> [email protected]
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to