<div dir="ltr">
<div>Thank you so much for answer.</div><div>To clarify my question :</div><div><i><br></i></div><div><i>If we start multiple containers that use the same image, the rootfs (or
 any file inside the image) is only stored once. When the container is 
started,  a "writable layer" is created for each container, which will 
contain filesystem changes that are made in each individual container. <br></i></div><div><i><br></i></div><div>Is this is done with lxc or not ?<i><br></i></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-10 13:00 GMT+01:00  <span dir="ltr"><<a href="mailto:lxc-users-request@lists.linuxcontainers.org" target="_blank">lxc-users-request@lists.linuxcontainers.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send lxc-users mailing list submissions to<br>
        <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:lxc-users-request@lists.linuxcontainers.org">lxc-users-request@lists.<wbr>linuxcontainers.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:lxc-users-owner@lists.linuxcontainers.org">lxc-users-owner@lists.<wbr>linuxcontainers.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of lxc-users digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: lxc-users Digest, Vol 233, Issue 11 (Thouraya TH)<br>
   2. Re: lxc-users Digest, Vol 233, Issue 11 (Michel Jansens)<br>
<br><br>---------- Message transféré ----------<br>From: Thouraya TH <<a href="mailto:thouraya87@gmail.com">thouraya87@gmail.com</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>>, <a href="mailto:stgraber@ubuntu.com">stgraber@ubuntu.com</a><br>Cc: <br>Bcc: <br>Date: Sat, 9 Jun 2018 13:56:28 +0100<br>Subject: Re: [lxc-users] lxc-users Digest, Vol 233, Issue 11<br><div dir="ltr">
<div>Thank you for answer.</div><div>Example<br></div><div>lxc-create -n c1 -o ubuntu</div><div>i don't mean ubuntu image</div><div><br></div><div>I mean these files:<br></div><div><br></div><div>Example:<br><br>root@graphene-14:/var/lib/lxc/<wbr>graphene-14-worker1# ls<br><br>config  fstab  rootfs<br><br><br>These folders content <br>config  fstab  rootfs are the same for the three containers on the same host ?</div><div>
<span id="m_-5196690727229446539gmail-result_box" class="m_-5196690727229446539gmail-" lang="en"><span class="m_-5196690727229446539gmail-">it's up to me to use a deduplication solution</span></span> 

? That's it ?<br></div><div>Bests.</div>

<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-09 13:00 GMT+01:00  <span dir="ltr"><<a href="mailto:lxc-users-request@lists.linuxcontainers.org" target="_blank">lxc-users-request@lists.<wbr>linuxcontainers.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send lxc-users mailing list submissions to<br>
        <a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainer<wbr>s.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.o<wbr>rg/listinfo/lxc-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:lxc-users-request@lists.linuxcontainers.org" target="_blank">lxc-users-request@lists.linuxc<wbr>ontainers.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:lxc-users-owner@lists.linuxcontainers.org" target="_blank">lxc-users-owner@lists.linuxcon<wbr>tainers.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of lxc-users digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: Question : duplication (Stéphane Graber)<br>
   2. Howto see actually used IPv6 (*not* link local) with lxc list<br>
      (v3.0.0)? (Oliver Rath)<br>
<br><br>---------- Message transféré ----------<br>From: "Stéphane Graber" <<a href="mailto:stgraber@ubuntu.com" target="_blank">stgraber@ubuntu.com</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<wbr>linuxcontainers.org</a>><br>Cc: <br>Bcc: <br>Date: Fri, 8 Jun 2018 11:30:07 -0400<br>Subject: Re: [lxc-users] Question : duplication<br>On Fri, Jun 08, 2018 at 12:13:34PM +0100, Thouraya TH wrote:<br>
> Hi,<br>
> <br>
> In my cluster, i have 3 containers per host  and i have 10 hosts.<br>
> all containers are ubuntu containers.<br>
> My question: the rootfs of these containers are the same ?<br>
> i have duplicated files in different containers repository ?<br>
> <br>
> <br>
> <br>
> Thank you so much for answers.<br>
> Best regards.<br>
<br>
Depends on your storage backend, all backends except the directory one<br>
will use copy-on-write for deltas from the image used for the container<br>
and their current state.<br>
<br>
If using ZFS and have quite a bit of spare RAM you can also turn on<br>
deduplication on your ZPOOL which will then deduplicate writes as they<br>
happen, possibly saving you a lot of disk space.<br>
<br>
<br>
-- <br>
Stéphane Graber<br>
Ubuntu developer<br>
<a href="http://www.ubuntu.com" rel="noreferrer" target="_blank">http://www.ubuntu.com</a><br>
<br><br>---------- Message transféré ----------<br>From: Oliver Rath <<a href="mailto:rath@mglug.de" target="_blank">rath@mglug.de</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<wbr>linuxcontainers.org</a>><br>Cc: <br>Bcc: <br>Date: Sat, 9 Jun 2018 13:47:16 +0200<br>Subject: [lxc-users] Howto see actually used IPv6 (*not* link local) with lxc list (v3.0.0)?<br>Hi list,<br>
<br>
Im using IPv6 in several lxc environments. Is there a possibility to see<br>
the actual set IPv6-Adresses (coming from radvd) in the list command?<br>
Ive tried<br>
<br>
lxc list  --columns="n",user.net.0.ipv6.<wbr>address<br>
<br>
with no luck (field leaves empty), but<br>
<br>
# lxc list  --columns="n",net.0.ipv6.addre<wbr>ss<br>
Error: Invalid config key 'net.0.ipv6.address' in 'net.0.ipv6.address'<br>
<br>
gives an error. Unfortunatly I didnt found any hint whats the key name<br>
for getting this information.<br>
<br>
What can I do?<br>
<br>
Tfh!<br>
<br>
Oliver<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainer<wbr>s.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.o<wbr>rg/listinfo/lxc-users</a><br></blockquote></div><br></div>
<br><br>---------- Message transféré ----------<br>From: Michel Jansens <<a href="mailto:michel.jansens@ulb.ac.be">michel.jansens@ulb.ac.be</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>><br>Cc: <br>Bcc: <br>Date: Sun, 10 Jun 2018 00:08:39 +0200<br>Subject: Re: [lxc-users] lxc-users Digest, Vol 233, Issue 11<br><div style="word-wrap:break-word">Hi Oliver,<div><br></div><div>I think I don’t completely understand what you mean, but I can say, if you use a ZFS storage, lxc init , or lxc copy your are creating ZFS clones (meaning sharing the data blocks, planned reduplication).</div><div>If you want new blocks to be deduplicated, you must activate reduplication, but this will come at a cost: the system has to make a table of hashes, and for each write, check in that table if a block already has the same hash. It you don’t have enough memory, this happens on disk, meaning one write can generate many reads…</div><div>You could also use extra data volumes and clone them through "zfs clone” instruction (for dev-test-prod environments).</div><div> </div><div>From all I’ve read, if you want to activate deduplication, you better have lots of RAM.</div><div><br></div><div>Cheers,</div><div><br></div><div>Michel </div><div><br><div><br><div><blockquote type="cite"><div>On 9 Jun 2018, at 14:56, Thouraya TH <<a href="mailto:thouraya87@gmail.com" target="_blank">thouraya87@gmail.com</a>> wrote:</div><br class="m_6950981340090288443Apple-interchange-newline"><div><div dir="ltr">
<div>Thank you for answer.</div><div>Example<br></div><div>lxc-create -n c1 -o ubuntu</div><div>i don't mean ubuntu image</div><div><br></div><div>I mean these files:<br></div><div><br></div><div>Example:<br><br>root@graphene-14:/var/lib/lxc/<wbr>graphene-14-worker1# ls<br><br>config  fstab  rootfs<br><br><br>These folders content <br>config  fstab  rootfs are the same for the three containers on the same host ?</div><div>
<span id="m_6950981340090288443gmail-result_box" class="m_6950981340090288443gmail-" lang="en"><span class="m_6950981340090288443gmail-">it's up to me to use a deduplication solution</span></span> 

? That's it ?<br></div><div>Bests.</div>

<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-09 13:00 GMT+01:00  <span dir="ltr"><<a href="mailto:lxc-users-request@lists.linuxcontainers.org" target="_blank">lxc-users-request@lists.<wbr>linuxcontainers.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send lxc-users mailing list submissions to<br>
        <a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainer<wbr>s.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.o<wbr>rg/listinfo/lxc-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:lxc-users-request@lists.linuxcontainers.org" target="_blank">lxc-users-request@lists.linuxc<wbr>ontainers.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:lxc-users-owner@lists.linuxcontainers.org" target="_blank">lxc-users-owner@lists.linuxcon<wbr>tainers.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of lxc-users digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: Question : duplication (Stéphane Graber)<br>
   2. Howto see actually used IPv6 (*not* link local) with lxc list<br>
      (v3.0.0)? (Oliver Rath)<br>
<br><br>---------- Message transféré ----------<br>From: "Stéphane Graber" <<a href="mailto:stgraber@ubuntu.com" target="_blank">stgraber@ubuntu.com</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<wbr>linuxcontainers.org</a>><br>Cc: <br>Bcc: <br>Date: Fri, 8 Jun 2018 11:30:07 -0400<br>Subject: Re: [lxc-users] Question : duplication<br>On Fri, Jun 08, 2018 at 12:13:34PM +0100, Thouraya TH wrote:<br>
> Hi,<br>
> <br>
> In my cluster, i have 3 containers per host  and i have 10 hosts.<br>
> all containers are ubuntu containers.<br>
> My question: the rootfs of these containers are the same ?<br>
> i have duplicated files in different containers repository ?<br>
> <br>
> <br>
> <br>
> Thank you so much for answers.<br>
> Best regards.<br>
<br>
Depends on your storage backend, all backends except the directory one<br>
will use copy-on-write for deltas from the image used for the container<br>
and their current state.<br>
<br>
If using ZFS and have quite a bit of spare RAM you can also turn on<br>
deduplication on your ZPOOL which will then deduplicate writes as they<br>
happen, possibly saving you a lot of disk space.<br>
<br>
<br>
-- <br>
Stéphane Graber<br>
Ubuntu developer<br>
<a href="http://www.ubuntu.com/" rel="noreferrer" target="_blank">http://www.ubuntu.com</a><br>
<br><br>---------- Message transféré ----------<br>From: Oliver Rath <<a href="mailto:rath@mglug.de" target="_blank">rath@mglug.de</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<wbr>linuxcontainers.org</a>><br>Cc: <br>Bcc: <br>Date: Sat, 9 Jun 2018 13:47:16 +0200<br>Subject: [lxc-users] Howto see actually used IPv6 (*not* link local) with lxc list (v3.0.0)?<br>Hi list,<br>
<br>
Im using IPv6 in several lxc environments. Is there a possibility to see<br>
the actual set IPv6-Adresses (coming from radvd) in the list command?<br>
Ive tried<br>
<br>
lxc list  --columns="n",<a href="http://user.net" target="_blank">user.net</a>.0.ipv6.<wbr>address<br>
<br>
with no luck (field leaves empty), but<br>
<br>
# lxc list  --columns="n",net.0.ipv6.addre<wbr>ss<br>
Error: Invalid config key 'net.0.ipv6.address' in 'net.0.ipv6.address'<br>
<br>
gives an error. Unfortunatly I didnt found any hint whats the key name<br>
for getting this information.<br>
<br>
What can I do?<br>
<br>
Tfh!<br>
<br>
Oliver<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainer<wbr>s.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.o<wbr>rg/listinfo/lxc-users</a><br></blockquote></div><br></div>
______________________________<wbr>_________________<br>lxc-users mailing list<br><a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<wbr>linuxcontainers.org</a><br><a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a></div></blockquote></div><br></div></div></div><br>______________________________<wbr>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a><br></blockquote></div><br></div>