On Tue, Jan 20, 2015 at 11:35:50AM +0100, Thouraya TH wrote: > 2015-01-09 13:00 GMT+01:00 <[email protected]>: > > > Send lxc-users mailing list submissions to > > [email protected] > > > > 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 > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > 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 <[email protected]> > > To: LXC users mailing-list <[email protected]> > > 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@worker:/home# vim MyTestFile.txt > root@worker:/home# du -sh MyTestFile.txt > 4.0K MyTestFile.txt > root@worker:/home# truncate -s 16M MyTestFile.txt > root@worker:/home# du --apparent-size -h MyTestFile.txt > 16M MyTestFile.txt > > Then Dumping Process: in ImGLXC1Worker directory > > root@g-3:/home/ImGLXC1Worker# du -sh > *7.9M * . > root@g-3:/home/ImGLXC1Worker# du -h > 7.9M . > > > *2)* i have increased the size from *16M to 160M* > > root@worker:/home# truncate -s *160M* MyTestFile.txt > root@worker:/home# du --apparent-size -h MyTestFile.txt > 160M MyTestFile.txt > > Then Dumping Process: in a new ImGLXC1Worker2 directory > root@griffon-38:/home/ImGLXC1Worker2# du -sh > *7.7M * > > Have you an explanation please ?
Yes, the CRIU images contain only what's in memory, not what's on disk, so having a large file on disk inside the container won't help. Further, it looks like you're just putting the file in your /home; is that the container's root filesystem mount point? I'm guessing it's not. Tycho > Thanks a lot for help. > Best regards. > > > > > > Tycho > > > > > Thanks a lot for answer. > > > Best Regards. > > > > > _______________________________________________ > > > lxc-users mailing list > > > [email protected] > > > http://lists.linuxcontainers.org/listinfo/lxc-users > > > > > > > > > > ---------- Message transféré ---------- > > From: Tycho Andersen <[email protected]> > > To: LXC users mailing-list <[email protected]> > > 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 > > > >[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 _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
