[lxc-users] About size of images

Matthew Hannigan matthew.hannigan at gmail.com
Sat Aug 30 07:49:29 UTC 2014


Do a du in /usr/share/vnuml/filesystems.
You should find that those use a lot less than 2g each.
It's because vnuml uses sparse files:
http://en.wikipedia.org/wiki/Sparse_file


On Thu, Jul 17, 2014 at 10:12 PM, Marcel Sánchez Toledano <
marcelsanchezt at gmail.com> 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:
>
> [image: Imatge inserida 1]
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140830/497ccc51/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/20140830/497ccc51/attachment-0001.png>


More information about the lxc-users mailing list