Re: [lxc-users] Question : duplication

2018-06-08 Thread Stéphane Graber
On Fri, Jun 08, 2018 at 12:13:34PM +0100, Thouraya TH wrote:
> Hi,
> 
> In my cluster, i have 3 containers per host  and i have 10 hosts.
> all containers are ubuntu containers.
> My question: the rootfs of these containers are the same ?
> i have duplicated files in different containers repository ?
> 
> 
> 
> Thank you so much for answers.
> Best regards.

Depends on your storage backend, all backends except the directory one
will use copy-on-write for deltas from the image used for the container
and their current state.

If using ZFS and have quite a bit of spare RAM you can also turn on
deduplication on your ZPOOL which will then deduplicate writes as they
happen, possibly saving you a lot of disk space.


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


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] Network instability with bridged nat and macvlan interfaces

2018-06-08 Thread Jäkel , Guido
Dear Michel,

... but the ssh connection is continous open -- before and "during" the issue?

Did you sniff (e.g. with tcpdump) the package flow on and outside (e.g. from 
your testing host)?

Guido
>-Original Message-
>From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf 
>Of Michel Jansens
>Sent: Friday, June 08, 2018 8:58 AM
>To: LXC users mailing-list 
>Subject: Re: [lxc-users] Network instability with bridged nat and macvlan 
>interfaces
>
>
>
>Hi Guido,
>
>Thanks for your reply
>
>I’ve installed an apache2 on port 8082, and it falls at the same time as 
>haproxy ports 80 and 443. Only ssh keeps responding.
>Weird!
>
>Michel
>
>
>
>
>
>   On 8 Jun 2018, at 08:15, Jäkel, Guido   > wrote:
>
>   Dear Michel,
>
>   did you already take a look on the other parts of the involved network 
> environment? Maybe you have an issue on layer two
>vs. three concerning the MAC <-> IP correlation on the involved next upstream 
>switch. You may check the ARP tables.
>
>   And -- because you "loose" port 80 and 443, but not 22 --- as a test I 
> would arrange some other simple services (using
>another product as you use for the httpd).
>
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] Question : duplication

2018-06-08 Thread Thouraya TH
Hi,

In my cluster, i have 3 containers per host  and i have 10 hosts.
all containers are ubuntu containers.
My question: the rootfs of these containers are the same ?
i have duplicated files in different containers repository ?



Thank you so much for answers.
Best regards.
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] Network instability with bridged nat and macvlan interfaces

2018-06-08 Thread Michel Jansens


Hi Guido,

Thanks for your reply

I’ve installed an apache2 on port 8082, and it falls at the same time as 
haproxy ports 80 and 443. Only ssh keeps responding. Weird!

Michel




> On 8 Jun 2018, at 08:15, Jäkel, Guido  wrote:
> 
> Dear Michel,
> 
> did you already take a look on the other parts of the involved network 
> environment? Maybe you have an issue on layer two vs. three concerning the 
> MAC <-> IP correlation on the involved next upstream switch. You may check 
> the ARP tables.
> 
> And -- because you "loose" port 80 and 443, but not 22 --- as a test I would 
> arrange some other simple services (using another product as you use for the 
> httpd).
> 





> Greetings
> 
> Guido
> 
>> -Original Message-
>> From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On 
>> Behalf Of Michel Jansens
>> Sent: Thursday, June 07, 2018 7:36 PM
>> To: LXC users mailing-list 
>> Subject: Re: [lxc-users] Network instability with bridged nat and macvlan 
>> interfaces
>> 
>> Hi Andrey,
>> Thank you for your answer.
>> I’ll try to avoid mixing macvlan with bridging/nat to test.
>> I’m currently building the equivalent on a second server, but with a bridge 
>> built on top of the vlan.
>> Somebody at Canonical also suggested it could be the physical switch playing 
>> bad with macvlan. We’re investigating.
>> I’ll keep you informed of the evolution.
>> 
>> Cheers,
>> 
>> Michel
> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

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

Re: [lxc-users] Network instability with bridged nat and macvlan interfaces

2018-06-08 Thread Jäkel , Guido
Dear Michel,

did you already take a look on the other parts of the involved network 
environment? Maybe you have an issue on layer two vs. three concerning the MAC 
<-> IP correlation on the involved next upstream switch. You may check the ARP 
tables.

And -- because you "loose" port 80 and 443, but not 22 --- as a test I would 
arrange some other simple services (using another product as you use for the 
httpd).

Greetings

Guido

>-Original Message-
>From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf 
>Of Michel Jansens
>Sent: Thursday, June 07, 2018 7:36 PM
>To: LXC users mailing-list 
>Subject: Re: [lxc-users] Network instability with bridged nat and macvlan 
>interfaces
>
>Hi Andrey,
>Thank you for your answer.
>I’ll try to avoid mixing macvlan with bridging/nat to test.
>I’m currently building the equivalent on a second server, but with a bridge 
>built on top of the vlan.
>Somebody at Canonical also suggested it could be the physical switch playing 
>bad with macvlan. We’re investigating.
>I’ll keep you informed of the evolution.
>
>Cheers,
>
>Michel
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users