LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ks.cfg (kickstart) - partitioning fails (https://www.linuxquestions.org/questions/linux-general-1/ks-cfg-kickstart-partitioning-fails-397554/)

SirWING 12-29-2005 08:49 AM

ks.cfg (kickstart) - partitioning fails
 
Hi.

I'm using the following partitioning commands in ks.cfg and it is working fine.

Code:

clearpart --all
part / --fstype ext3 --size=1 --grow
part /boot --fstype ext3 --size=20 --asprimary
part /var/log --fstype ext3 --size=6000
part /var/spool/squid --fstype ext3 --size=3000 --bytes-per-inode=1024
part /tmp --fstype ext3 --size=3000
part swap --size=1024

I'd like to increase the size of the /var/log, /var/spool/squid and /tmp partitions, so I tried changing the commands to the following (doubling the sizes).

Code:

clearpart --all
part / --fstype ext3 --size=1 --grow
part /boot --fstype ext3 --size=20 --asprimary
part /var/log --fstype ext3 --size=12000
part /var/spool/squid --fstype ext3 --size=6000 --bytes-per-inode=1024
part /tmp --fstype ext3 --size=6000
part swap --size=1024

But when the kickstart runs, it fails with the following error message.

Quote:

Error Partitioning

Could not allocate requested partitions:
Partitioning failed: Could not allocate
partitions.

Press OK to reboot your system.
Is there some restrictions as to the size of the partitions or the --size / --bytes-per-inode combination?
Any help is appreciated. :)


All times are GMT -5. The time now is 10:35 PM.