Re: Kickstart RAID1 help

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

 



Subject: Kickstart RAID1 help
From: "Mukarram Syed" <muksyed@xxxxxxxxxxxx>
Date: Tue, 26 Jun 2007 23:56:21 -0700
To: <kickstart-list@xxxxxxxxxx>

To: <kickstart-list@xxxxxxxxxx>
Hi

I am trying to get Kickstart working with RAID1. The regular Kickstart works fine (without RAID1). Googl’ing for these errors didn’t help.

Any help is appreciated.

Thanks much.
-Mukarram Syed.

This is my RAID1 setup:

#Partition clearing information

clearpart --all --initlabel
#############################################################

# RAID1 Partitioning:
part raid.01 --size 100 --ondisk sda
part raid.02 --size 100 --ondisk sdb
# /
part raid.03 --size 25000 --ondisk sda
part raid.04 --size 25000 --ondisk sdb
# Swap
part raid.05 --recommended --ondisk sda
part raid.06 --recommended --ondisk sdb
# /u01
part raid.07 --size 18000 --ondisk sda
part raid.08 --size 18000 --ondisk sdb
# /x01
part raid.09 --size 4000 --ondisk sda
part raid.10 --size 4000 --ondisk sdb
# /s01
part raid.11 --size 15000 --ondisk sda
part raid.12 --size 15000 --ondisk sdb
#Disk partitioning information
raid /boot --fstype ext3 --level 1 --device md0 raid.01 raid.02 --asprimary
raid / --fstype ext3 --level 1 --device md1 raid.03 raid.04 --asprimary
raid swap --fstype swap --level 1 --device md2 raid.05 raid.06 --asprimary
raid /u01 --fstype ext3 --level 1 --device md4 raid.07 raid.08
raid /x01 --fstype ext3 --level 1 --device md5 raid.09 raid.10
raid /s01 --fstype ext3 --level 1 --device md6 raid.11 raid.12
#############################################################

This is the error I am getting on the console:
Probing for monitor type:   Unknown monitor
Probing for mouse type:   No - mouse
Graphical installation not available...  Starting text mode.
Traceback (most recent call last):
  *File "/usr/bin/anaconda", line 1130, in ?*
*    instClass.setInstallData(id)*
*  File "/usr/lib/anaconda/kickstart.py", line 1439, in setInstallData*
*    raise KickstartError, e*
*kickstart.KickstartValueError: partition command requires a size specification*
*install exited abnormally*

sending termination signals...done
sending kill signals...done
disabling swap...
unmounting filesystems...
        /mnt/runtime done
        disabling /dev/loop0
        /proc/bus/usb done
        /proc done
        /dev/pts done
        /sys done
        /tmp/ramfs done
        /selinux done

you may safely reboot your system

I think it's a syntax snafu. The sysadmin guide at http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-options.html
shows that where you had:
raid /s01 --fstype ext3 --level 1 --device md6 raid.11 raid.12
you want:
raid /s01 --fstype ext3 --level=1 --device=md6 raid.11 raid.12

--
  Regards,
  Steve

IT Support - UNIX/Linux                        Cadence Design Systems
                                               Bagshot Road
                                               Bracknell BERKSHIRE
                                               RG12 0PH   UK


[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