Thank you very much all for this valuable input.

Based on the collected information, I would take
following approach as far as calculating size of
swap and dump devices on ZFS volumes in Caiman
installer is concerned.

[1] Following formula would be used for calculating
    swap and dump sizes:

size_of_swap = size_of_dump = MAX(512 MiB, MIN(physical_memory/2, 32 GiB))

User can reconfigure this after installation is done on live
system by "zfs set" command.

[2] dump device will be considered optional

dump device will be created only if there is appropriate
space available on disk provided.

Minimum disk space required will not take into account
dump device, thus allowing user to install on small disks.

Recommended disk size (which now covers one full upgrade plus
2GiB space for additional software) will take into account dump
device as well. Dump device will be then created if user dedicates
at least recommended disk space for installation.

Please feel free to correct me, if I misunderstood some point.

Thank you very much again,
Jan


Dave Miner wrote:
> Peter Tribble wrote:
>> On Tue, Jun 24, 2008 at 8:27 PM, Dave Miner <[EMAIL PROTECTED]> wrote:
>>> Keith Bierman wrote:
>>>> A lot of developers use VMs of one sort or another these days, and
>>>> few of them use jumpstart (especially when the entire point of the
>>>> exercise is to get their feet wet on new platforms, or new versions
>>>> of old platforms).
>>>>
>>>> Perhaps I travel in the wrong circles these days.
>>> All they'd have to do under my suggested solutoin is make the virtual
>>> disk large enough to get a dump pool created automatically.  Our
>>> recommended sizing would encompass that.
>>
>> So remind me again - what is our recommended sizing? (Especially
>> in the light of this discussion.)
>>
>
>
> Dynamically calculated based info recorded in the image.
>
> http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/lib/liborchestrator/perform_slim_install.c#om_get_recommended_size
>  
>
>
> It's in the 4+ GB range right now.
>
> Dave

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to