On 01/07/2013 02:19 PM, Joey Boggs wrote:
On 01/07/2013 07:33 AM, Alexandre Santos wrote:
> 2013/1/7 Jure Kranjc <jure.kranjc(a)arnes.si>:
>> Hi,
>>
>> has anybody installed ovirt-node on a bootable usb stick? If the
>> hypervisor
>> is less than 1GB in size, why does installation require 70GB of disk
>> space?
>> It would be perfect to run nodes from usb without any disks.
>>
>> Thanks
>> Jure Kranjc
>>
> Sorry for not asnwering to the list, here are my previous post:
>
> "How much memory do you have? It seems that it's calculating how much
> swap it will need and turns that needs at least 70 GB disk space."
>
> There is a thread in this forum that has the calculations that ovirt
> does for it. You can change this values on the boot options.
>
> Alex
Those values are also shown on the installer screen right before
entering the password and can be changed
As sometimes searching the list can be a pain, I'll just repost it:
You can do this with 2 different methods, both of which are on the
kernel command line during boot. Simply hit TAB when you're selecting the install
option and add one of the options below to the command line.
1. You can set " storage_vol=:XXX:::: " where XXX is the desired size of the
SWAP partition in MB. It has a minimum size of 5MB.
This lets you set a static size for swap.
2. You can set mem_overcommit=0. This will change our calculation to not add any swap
for overcommit. It will still calculate a value based on the amount of RAM, but not as
large as with the overcommit.
The swap size is calculated at mem_overcommit*RAM + <BASE_SWAP>
BASE_SWAP is calculated using this formula:
if MEM_SIZE < 4GB:
BASE_SWAP = 2GB
elif MEM_SIZE < 16GB:
BASE_SWAP = 4GB
elif MEM_SIZE < 64GB:
BASE_SWAP = 8GB
else:
BASE_SWAP = 16GB
We are planning to expose these option in the TUI installer, just not there yet.
Mike
--
Kind Regards,
Jorick Astrego
Netbulae B.V.