[Users] Ovirt Node install to USB stick - required 70GB disk space?
Alexandru Vladulescu
avladulescu at bfproject.ro
Tue Jan 8 08:01:12 UTC 2013
Hi,
I have 2 hypervisors running on 2 usb 3.0 sticks and the a swap daemon running on a NFS share export.
The daemon only creates swap space when needed, so I have not used the swap partition during the os install on the usbs.
Each physical server has 32gb of ram.
So far i did not experienced any performance degradation.
Regards,
Alex
On 07.01.2013, at 23:37, Jure Kranjc <jure.kranjc at arnes.si> wrote:
> Thanks, that was the problem and the solution.
> Found the post, it's easier to find something when you know what you are looking for.
>
> On 7.1.2013 16:17, Jorick Astrego wrote:
>> 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 at 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
>>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list