[CentOS] Kickstart wrong swap size

Lars Hecking lhecking at users.sourceforge.net
Mon Dec 7 13:07:11 UTC 2009


Lars Hecking writes:
> 
>  All machines kickstarted here consistently have a swap partition with the
>  wrong size. According to the RHEL5 manual:
> 
> | To determine the size of the swap partition automatically, use the
> | --recommended option:
> |
> | swap --recommended
> |
> | The recommended maximum swap size for machines with less than 2GB of RAM is
> | twice the amount of RAM. For machines with 2GB or more, this recommendation
> | changes to 2GB plus the amount of RAM. 
> 
>  However, the swap partition on all kickstarted machines is 2GB, regardless
>  of RAM size.
 
 This seems to be a 5.2-specific bug - 5.3 and 5.4 appear to do the right thing.

 Time to upgrade, I guess.




More information about the CentOS mailing list