Re: Kickstart partioning error

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

 




Simple. Raid 5 requires three partitions at minimum to work. See
http://linuxdocs.org/HOWTOs/Software-RAID-HOWTO-2.html. If you only have
two disks, you will want to do raid 1 to achieve redundancy (mirroring).

BTW. The common belief about raid is that only user data (/home) should be
mirrored. Mirroring other data (/usr, ...) only incurs a performance
penalty (only slight for reads, but a lot for writes). Remember that every
time you write something to /tmp, it has to be written to disk TWICE! And
let's be honest: with software raid, and in the situation below, if one of
your disk fails, your system crashes anyway (because of the distributed
swap if nothing else). For all filesystems that hold no user data, you can
even use raid 0 (striping) for increased performance.

And last, I'd be really careful putting /boot on a raid device. It's an
invitation for trouble since lilo doesn't know how to handle raid devices,
but has to read from them nevertheless. More info in
http://linuxdocs.org/HOWTOs/Boot+Root+Raid+LILO.html.

- Wouter.

---------------------------------------------------------------
Wouter Liefting
Curriculum Owner Linux
IBM Learning Services
Tel. +31 (0)20 513 5057 (IBM)
Tel. +31 (0)252 625 202 (Home office)
Fax. +31 (0)20 513 2322
Internet: liefting@xxxxxxxxxx


wordene2@xxxxxxxxxxxx on 21-05-2001 23:31:19

Please respond to kickstart-list@xxxxxxxxxx

To:   kickstart-list@xxxxxxxxxx
cc:
Subject:  Kickstart partioning error




I'm trying to completely format my two identical 2.2GB SCSI drives, within
the kickstart process.  I would like to end up with two identically
partitioned drives, including having the swap space span both disks.  I
also require that the highest possible level of duplication is used on all
filesystems.  Under RH7.0, anaconda spits out this error message,
"partition command requires one anonymous argument."  What am I doing wrong
below to cause this?
==========================================================================
zerombr yes
clearpart --all
part raid.00 --size 32 --ondisk sda
part raid.01 --size 32 --ondisk sdb # md0 = /boot
part swap --size 400 --ondisk sda
part swap --size 400 --ondisk sdb
part raid.10 --size 400 --ondisk sda
part raid.11 --size 400 --ondisk sdb # md1 = /
part raid.20 --size 400 --ondisk sda
part raid.21 --size 400 --ondisk sdb # md2 = /usr/local
part raid.30 --size 200 --ondisk sda
part raid.31 --size 200 --ondisk sdb # md3 = /var
part raid.40 --size 200 --ondisk sda
part raid.41 --size 200 --ondisk sdb # md4 = /tmp
part raid.50 --size 200 --ondisk sda
part raid.51 --size 200 --ondisk sdb # md5 = /opt
part raid.60 --size 200 --ondisk sda
part raid.61 --size 200 --ondisk sdb # md6 = /home
raid /boot --level 1 --device md0 raid.00 raid.01
raid / --level 5 --device md1 raid.10 raid.11
raid /usr/local --level 5 --device md2 raid.20 raid.21
raid /var --level 5 --device md3 raid.30 raid.31
raid /tmp --level 5 --device md4 raid.40 raid.41
raid /opt --level 5 --device md5 raid.50 raid.51
raid /home --level 5 --device md6 raid.60 raid.61


__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list


[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