<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-01-09 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send lxc-users mailing list submissions to<br>
        <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.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" target="_blank">http://lists.linuxcontainers.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.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.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: Snapshot size (Tycho Andersen)<br>
   2. Re: Snapshot size (Tycho Andersen)<br>
<br><br>---------- Message transféré ----------<br>From: Tycho Andersen <<a href="mailto:tycho.andersen@canonical.com">tycho.andersen@canonical.com</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>><br>Cc: <br>Date: Thu, 8 Jan 2015 07:19:52 -0700<br>Subject: Re: [lxc-users] Snapshot size<br>On Sun, Jan 04, 2015 at 07:42:38PM +0100, Thouraya TH wrote:<br>
> Hello,<br>
><br>
> On what depends the size of a checkpoint of a container? the size of data that<br>
> are in the container ?<br>
<br>
The size of the RAM, lxc-checkpoint is a frontend for CRIU, and CRIU<br>
dumps only memory state (well, and "ghost" file state).<br>
<br>
> if i increase the size of data in a container, the snapshot's size increase<br>
> ?<br>
<br>
<b>If there is more data in RAM, the CRIU images will be bigger.<br></b></blockquote><div><br>Hello,<br></div><div>@Tycho: I'm so sorry, i can't find the right option to send my reply correctly to the list.<br><br><b>1)</b><br></div><div>I try to increase data size in the container like that:<br><br>           root@worker:/home# vim MyTestFile.txt<br>           root@worker:/home# du -sh MyTestFile.txt <br>           4.0K    MyTestFile.txt<br>           root@worker:/home# truncate -s 16M MyTestFile.txt <br>           root@worker:/home# du --apparent-size -h MyTestFile.txt <br>          16M    MyTestFile.txt<br><br></div><div>Then Dumping Process: in ImGLXC1Worker directory<br><br>           root@g-3:/home/ImGLXC1Worker# du -sh<br>           <b>7.9M   </b> .<br>           root@g-3:/home/ImGLXC1Worker# du -h<br>          7.9M    .<br><br><br></div><div><b>2)</b>  i have increased the size from <b>16M to 160M</b><br><br></div><div>          root@worker:/home# truncate -s <b>160M</b> MyTestFile.txt <br>          root@worker:/home# du --apparent-size -h MyTestFile.txt <br>          160M    MyTestFile.txt<br><br>     Then Dumping Process: in a new ImGLXC1Worker2 directory<br>          root@griffon-38:/home/ImGLXC1Worker2# du -sh<br>          <b>7.7M </b>   <br></div><div><br></div><div>Have you an explanation please ?<br><br></div><div>Thanks a lot for help.<br></div><div>Best regards. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Tycho<br>
<br>
> Thanks a lot for answer.<br>
> Best Regards.<br>
<br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
<br>
<br><br>---------- Message transféré ----------<br>From: Tycho Andersen <<a href="mailto:tycho.andersen@canonical.com">tycho.andersen@canonical.com</a>><br>To: LXC users mailing-list <<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>><br>Cc: <br>Date: Thu, 8 Jan 2015 07:20:05 -0700<br>Subject: Re: [lxc-users] Snapshot size<br>On Mon, Jan 05, 2015 at 11:25:13AM +0530, Ashish Bunkar wrote:<br>
> Hi<br>
> What is your OS, because in my environment lxc-chekpoint is depreciated<br>
> command now ?<br>
<br>
It is?<br>
<br>
Tycho<br>
<br>
> Thanks & Regards<br>
> Ashish Bunkar<br>
> Contact No.- <a href="tel:%2B91-7259183696" value="+917259183696">+91-7259183696</a><br>
><br>
> On 01/05/2015 12:12 AM, Thouraya TH wrote:<br>
> >Hello,<br>
> ><br>
> >On what depends the size of a checkpoint of a container? the size of data<br>
> >that are in the container ?<br>
> >if i increase the size of data in a container, the snapshot's size<br>
> >increase ?<br>
> ><br>
> >Thanks a lot for answer.<br>
> >Best Regards.<br>
> ><br>
> ><br>
> >_______________________________________________<br>
> >lxc-users mailing list<br>
> ><a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> ><a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
><br>
<br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
<br>
<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div></div>