[lxc-users] lxc-users Digest, Vol 56, Issue 7

Thouraya TH thouraya87 at gmail.com
Tue Jan 20 10:35:50 UTC 2015


2015-01-09 13:00 GMT+01:00 <lxc-users-request at lists.linuxcontainers.org>:

> Send lxc-users mailing list submissions to
>         lxc-users at lists.linuxcontainers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> or, via email, send a message with subject or body 'help' to
>         lxc-users-request at lists.linuxcontainers.org
>
> You can reach the person managing the list at
>         lxc-users-owner at lists.linuxcontainers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lxc-users digest..."
>
> Today's Topics:
>
>    1. Re: Snapshot size (Tycho Andersen)
>    2. Re: Snapshot size (Tycho Andersen)
>
>
> ---------- Message transféré ----------
> From: Tycho Andersen <tycho.andersen at canonical.com>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Thu, 8 Jan 2015 07:19:52 -0700
> Subject: Re: [lxc-users] Snapshot size
> On Sun, Jan 04, 2015 at 07:42:38PM +0100, Thouraya TH wrote:
> > Hello,
> >
> > On what depends the size of a checkpoint of a container? the size of
> data that
> > are in the container ?
>
> The size of the RAM, lxc-checkpoint is a frontend for CRIU, and CRIU
> dumps only memory state (well, and "ghost" file state).
>
> > if i increase the size of data in a container, the snapshot's size
> increase
> > ?
>
>
> *If there is more data in RAM, the CRIU images will be bigger.*


Hello,
@Tycho: I'm so sorry, i can't find the right option to send my reply
correctly to the list.

*1)*
I try to increase data size in the container like that:

           root at worker:/home# vim MyTestFile.txt
           root at worker:/home# du -sh MyTestFile.txt
           4.0K    MyTestFile.txt
           root at worker:/home# truncate -s 16M MyTestFile.txt
           root at worker:/home# du --apparent-size -h MyTestFile.txt
          16M    MyTestFile.txt

Then Dumping Process: in ImGLXC1Worker directory

           root at g-3:/home/ImGLXC1Worker# du -sh
           *7.9M   * .
           root at g-3:/home/ImGLXC1Worker# du -h
          7.9M    .


*2)*  i have increased the size from *16M to 160M*

          root at worker:/home# truncate -s *160M* MyTestFile.txt
          root at worker:/home# du --apparent-size -h MyTestFile.txt
          160M    MyTestFile.txt

     Then Dumping Process: in a new ImGLXC1Worker2 directory
          root at griffon-38:/home/ImGLXC1Worker2# du -sh
          *7.7M *

Have you an explanation please ?

Thanks a lot for help.
Best regards.


>
> Tycho
>
> > Thanks a lot for answer.
> > Best Regards.
>
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
>
> ---------- Message transféré ----------
> From: Tycho Andersen <tycho.andersen at canonical.com>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Date: Thu, 8 Jan 2015 07:20:05 -0700
> Subject: Re: [lxc-users] Snapshot size
> On Mon, Jan 05, 2015 at 11:25:13AM +0530, Ashish Bunkar wrote:
> > Hi
> > What is your OS, because in my environment lxc-chekpoint is depreciated
> > command now ?
>
> It is?
>
> Tycho
>
> > Thanks & Regards
> > Ashish Bunkar
> > Contact No.- +91-7259183696
> >
> > On 01/05/2015 12:12 AM, Thouraya TH wrote:
> > >Hello,
> > >
> > >On what depends the size of a checkpoint of a container? the size of
> data
> > >that are in the container ?
> > >if i increase the size of data in a container, the snapshot's size
> > >increase ?
> > >
> > >Thanks a lot for answer.
> > >Best Regards.
> > >
> > >
> > >_______________________________________________
> > >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
>
>
>
> _______________________________________________
> 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/20150120/c6ad07ee/attachment.html>


More information about the lxc-users mailing list