Re: Two Swap Partitions

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

 



Rebecca.R.Hepper@xxxxxxxxxxx wrote:

I am working with RedHat 7.1.  I have one 80GB drive in my system.  I want
4GB of swap.  On the internet, I read that a Linux swap partition is
limited to 2GB, so I want to make 2 2GB swap partitions.  My current
partitioning scheme in my ks.cfg file looks like the following:

clearpart --all
part /boot --size 16
part swap --size 2000
part / --size 250
part /usr --size 4000
part /var --size 4000 --grow
part /usr/local --size 4000
part /home --size 4000

If I add another line for swap identical to the first one, when my system
tries to boot after kickstart I get a kernel panic:  "kernel panic: VFS:
Unable to mount root fs on 03:0a".  What is the syntax for creating a 2nd
swap partition in 7.1 kickstart?
Here is an example I have on one of my boxes ( with a lot of ram ). It is redhat 7.1 but is using the 7.2 installer.

part / --size 400 --grow --maxsize 500
part /usr --size 2500
part /tmp --size 512 --grow --maxsize 1024
part /var --size 500

part raid.01 --size 1 --grow --ondisk sda
part raid.02 --size 1 --grow --ondisk sdb
raid /scratch --level 0 --device md0 raid.01 raid.02
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 2047 --ondisk sda
part swap --size 2047 --ondisk sdb
part swap --size 1850 --ondisk sda




[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