RE: Kickstart RAID setup : TypeError

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

 



> Hi everyone,
> 
> I have serious problems setting up my server with
> a RAID disk set using kickstart in RedHat 7.2.
> 
> I defined disks and RAID assignments in a kickstart file.
> I tried several options and much more syntax variations,
> but all of them didn't work.
> 
> Here is the sequence of my kickstart file with my settings :
> 
> part raid.8 --size=128 --onpart sdb1
> part raid.1 --size=128 --onpart sda1
> part raid.5 --size=1 --grow --onpart sda5
> part raid.10 --size=1 --grow --onpart sdb5
> part raid.2 --size=2048 --onpart sda2
> part raid.6 --size=2048 --onpart sdb2
> part raid.7 --size=512 --onpart sdb3
> part raid.3 --size=512 --onpart sda3

IIRC, you cannot use --onpart and --grow together.  It doesn't make sense.
 
> raid / --fstype ext3 --level=RAID1 raid.2 raid.6
> raid swap --fstype swap --level=RAID1 raid.7 raid.3
> raid /boot --fstype ext3 --level=RAID1 raid.8 raid.1
> raid /mypart --fstype ext3 --level=RAID1 raid.5 raid.10
> 
> The following message appears during installation :
> 
> File "/usr/lib/anaconda/partitioning.py", line 595, in
> sanityCheckAllRequests
> swapSize = swapSize + requestSize (request, diskset)
> TypeError : number coercion failed

Don't RAID your swap.  It is useless, because you don't need to mirror your
swap.

Forrest
 

> Thank you
> 
> Dirk
> 
> 
> --------------------------------------------------------------
> --------------
> ------------
> Dirk Albert
> Siemens AG, PG L 621, Germany
> * Tel.: +49 - 9131 - 18 82206 (Erlangen)
> * Tel.: +49 - 721 - 595 2381 (Karlsruhe)
> * mailto:dirk.albert@xxxxxxxxxxx
> --------------------------------------------------------------
> --------------
> ------------





[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