[elbe-devel] Disk space leaks from the initvm

Lukasz Walewski lwalewski at s-can.at
Fri Mar 17 16:30:04 CET 2017


>-----Ursprüngliche Nachricht-----
>Von: John Ogness [mailto:john.ogness at linutronix.de]
>Gesendet: Freitag, 17. März 2017 13:36
>An: elbe-devel at linutronix.de
>Cc: Lukasz Walewski
>Betreff: Re: [elbe-devel] Disk space leaks from the initvm
>
>On 2017-03-17, Lukasz Walewski <lwalewski at s-can.at> wrote:
>> Is the default partition size of the initvm (the 80 GBs) configurable,
>> e.g. at 'elbe initvm create' time? I would like to keep the image file
>> far smaller, especially that it tends to leak anyways.
>
>You probably created the initvm using:
>
>$ elbe initvm create --directory=/some/directory
>
>This will use the default XML file specifying the initvm. That file is
>elbepack/init/default-init.xml of the elbe installation. In that file
>you will find:
>
><size>80G</size>
>
>within the initvm section. The "elbe initvm create" command can take an
>XML file as an argument. Then that file will be used instead of the
>default XML file. For example:
>
>$ elbe initvm create --directory=/some/directory myinitvm.xml
>
>I recommend copying the default XML file, modifying it, and using the
>modified version to create your initvm.

That worked wonderfully! Thanks!

I can also confirm now, that the image file does not grow beyond the VM's partition size. Sorry for rising the false 'leakage' alarm but it really looked that way ;)

Have a nice weekend all of you!
Lukasz


----------------------------------------

scan Messtechnik GmbH
Brigittagasse 22-24
A-1200 Wien/Vienna
tel. +43 1 219 73 93 - 0
fax +43 1 219 73 93 - 12
http://www.s-can.at
office at s-can.at

Geschaeftsfuehrer/President: DI Andreas Weingartner
Firmenbuchnummer/Incorporation No: FN178880i
Gerichtsstand/Court of Jurisdiction: Wien/Vienna

----------------------------------------

s::can - intelligent, optical, online

i::scan - compact, precise and affordable!
UV254::NTU::FTU::TOC::DOC::COD::BOD::Colour ...and many more to come!
http://www.i-scan.at
----------------------------------------
"YES WE SCAN !"




More information about the elbe-devel mailing list