[lxc-users] lxc-users Digest, Vol 31, Issue 8
Badiane Ka
badiane_ka at yahoo.com
Thu Jul 17 13:55:08 UTC 2014
LXC
LXC
To start a container, use lxc-start -n CN. By default lxc-start will execute /sbin/init in the container.
View on help.ubuntu.com Preview by Yahoo
"/var/cache/lxc is where caches of distribution data are stored to speed up multiple container creations."
So the cache is not a reflexion of your VE. The next time you want to recreate a VE, the content of the cache/lxc directory will be use to create an initial VE.
To find why your VE is that size, run du -s /usr/share/vnuml/filesystems | sort -rn | head -20, or something of the kind.
On Thursday, July 17, 2014 8:27 AM, "lxc-users-request at lists.linuxcontainers.org" <lxc-users-request at lists.linuxcontainers.org> wrote:
----- Forwarded Message -----
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. About size of images (Marcel Sánchez Toledano)
2. Re: About size of images (Oliver Rath)
Hi,
I'm right now working in a project comparing SIMCTL (VNUML utility, UML) with LxC. In VNUML the aprox. size of virtual machines filesystems located in /usr/share/vnuml/filesystems are 2GB:
marcel at ubuntu:/usr/share/vnuml/filesystems$ ls -lh
total 4.1G
-rw-r--r-- 1 root root 2.0G Oct 9 2013 debian5.fs
-rw-r--r-- 1 root root 2.0G Jul 3 07:52 debian6.fs
And the size of a LxC rootfs is 246MB:
How is this possible and which is the explanation of this? The difference of sizes is huge!
Thanks,
Marcel Sánchez Toledano
Possybly your lxc installation uses links instead of real files?
Regards
Oliver
On 17.07.2014 14:12, Marcel Sánchez Toledano wrote:
Hi,
>
>
>I'm right now working in a project comparing SIMCTL (VNUML utility, UML) with LxC. In VNUML the aprox. size of virtual machines filesystems located in /usr/share/vnuml/filesystems are 2GB:
>
>
>marcel at ubuntu:/usr/share/vnuml/filesystems$ ls -lh
>
>total 4.1G
>-rw-r--r-- 1 root root 2.0G Oct 9 2013 debian5.fs
>-rw-r--r-- 1 root root 2.0G Jul 3 07:52 debian6.fs
>
>
>
>
>And the size of a LxC rootfs is 246MB:
>
>
>
>
>
>
>
>
>How is this possible and which is the explanation of this? The difference of sizes is huge!
>
>
>Thanks,
>
>
>Marcel Sánchez Toledano
>
>
>
>
>_______________________________________________
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/20140717/d1d0712b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 16171 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140717/d1d0712b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 16171 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140717/d1d0712b/attachment-0003.png>
More information about the lxc-users
mailing list