Re: Dynamic partitioning in kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gopi wrote:
 is there any way i can automate this in kickstart that based on the
size of
 hard disk it should allocate a percentage of hard disk size to each
partition.
 for example 40% each for primary and secondary 15% for data 5% for swap
like
 that.

partitions marked as growable grow in proportion to their base size, so you should be able to do something like this:

part / --size 400 --grow
part /secondary --size 400 --grow
part /data --size 150 --grow
part swap --size 50 --grow

Of course you realize that 5% for swap is probably not always optimum. If you're using RH7.3 or up, you should be able to use a line like

part swap --recommended

which will size the swap based on system memory.





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux