Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
kickstart config file syntax for RAID

kickstart config file syntax for RAID

2006-06-14       - By Rick Stevens

 Back
Reply:     1     2  

On Wed, 2006-06-14 at 15:40 -0700, Jason Nemecek wrote:
> Hi list,
>
> I'm trying to install via Kickstart over NFS. I have the basic install
> working somewhat, but I want to set up a few RAID1 partitions on my
> system
> during the install. I created a ks.cfg file with the Kickstart
> Configurator.
>
> The Kickstart install starts fine but when I get to the disk
> partitioning
> phase of the install I get a dialog box that says:
>
> ****************************************************
> Error Partitioning
>
> Could not allocate requested partitions:
>
> Partitioning failed: Could not allocate partitions.
>
> Press 'OK' to reboot your system
> ****************************************************
>
> Bravo again to RHEL4 with their brilliant descriptive error messages.
>
> My first question is on the syntax of the Kickstart RAID partitioning.
>
> Can anyone see any syntax errors with the following section of my
> ks.cfg:
>
> part /boot --fstype ext2 --size=128 --ondisk=sda
> part /dead --fstype ext2 --size=128 --ondisk=sdb
> part swap --size=2048 --ondisk=sda
> part swap --size=2048 --ondisk=sdb
> part raid.01 --size=10240 --ondisk=sda
> part raid.02 --size=10240 --ondisk=sdb
> part raid.03 --size=275000 --ondisk=sda
> part raid.04 --size=275000 --ondisk=sdb
> raid / --fstype ext3 --level=RAID1 --device=md0 raid.01 raid.02
> raid /home --fstype ext3 --level=RAID1 --device=md1 raid.03 raid.04
>
> I'm mainly wondering about the "--" options and the placement of the "="
> signs between the options and values. Ie: should it be --ondisk=sda or
> --ondisk sda ?? Same question with --size and --level. I've been trying
> to find other ks.cfg files via Google for examples, but there's not much
> out there, especially anything recent. I've seen examples with and
> without
> the "=" sign.
>
> Before rebooting the last time this happened, I killed the X server and
> Looked at the console to see the following message repeated about 15
> times:
>
> <4>program anaconda is using a deprecated SCSI ioctl, please convert it
> to SG_IO  
>
> Does anyone know if this is a serious error, or if it's just a warning
> For the future?  

It's a warning.

>
> I'm using RHEL4 WS on Dell Precision 470s
>
> I see that there are updated RPMs for anaconda, anaconda-runtime, and
> system-config-kickstart.
>
> Can these RPMs be installed in a way that will make a difference during
> the install?

Not really.  system-config-kickstart is really what you know as the
"kickstart configurator" (what a bloody awful name).

> Ideas? Obvious errors?

Well, you really should delete partitions before creating new ones.
If the drive has partitions on it, it's entirely possible that you
are out of space and the message is fairly obvious then, isn't it?  Try
adding

  clearpart --drives=sda,sdb

or

  clearpart --all

to your script.  Also, the "--fstype" stuff should be "--fstype=ext3".
In general, any "--" flag that accepts options wants an "=" between
the flag and its options, e.g.:

  --fstype=ext3

It _may_ work without the "=", but better to be safe than sorry.  I
believe in belts and suspenders.

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-  Time: Nature's way of keeping everything from happening at once.  -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe