AW: RAID partitions and devices in ks.cfg

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

 



Hi,

the numbers for the raid partitions are just used as labels. You can use
your own numbering for your convenience.
Please make sure that your partition numbers match the raid partition
assignment.

You next question concerning the swap partition :
I can only speak for RH7.2, we don't use RH7.3 yet.
RH 7.2 :In the automatically generated anaconda-ks.cfg the swap partition is
a raid partition like others.
Unfortunately the kickstart/anaconda installer does not accept a "swap" in a
raid partition assignment and will fail.
For our system, we need swap as a raid partition.
Therefore I've done the following workaround :
Create two single swap partitions, one on sda and one on sdb w/o raid
assignement.
In the kickstart post section I figure out weather to use swap as raid or
not and configure /etc/raidtab respectively.

Don't hesitate to contact me for detailed information

Greetings
Dirk


-----Ursprüngliche Nachricht-----
Von: Brian K. Jones [mailto:jonesy@xxxxxxxxxxxxxxxx]
Gesendet: Dienstag, 6. August 2002 14:04
An: kickstart-list@xxxxxxxxxx
Betreff: RAID partitions and devices in ks.cfg


I'm sorta new to doing software raid in linux, so I did an install of
Redhat 7.3 on a machine with two disks and set it up for raid 1 during
install so I could grab the resulting anaconda-ks.cfg and use it to
write my own ks.cfg on some other boxes.  I have a question though about
some of the output in the file that resulted from the install.  The part
in question is below:

#part raid.28 --size=32 --ondisk=sda --asprimary
#part raid.44 --size=32 --ondisk=sdb --asprimary
#part raid.46 --size=10000 --ondisk=sdb
#part raid.29 --size=10000 --ondisk=sda
#part raid.42 --size=5824 --grow --ondisk=sda
#part raid.49 --size=5820 --ondisk=sdb
#part raid.51 --size=1500 --ondisk=sdb
#part raid.41 --size=1500 --ondisk=sda
#raid swap --fstype swap --level=RAID1 raid.41 raid.51
#raid / --fstype ext3 --level=RAID1 raid.29 raid.46
#raid /boot --fstype ext3 --level=RAID1 raid.28 raid.44
#raid /tmp --fstype ext3 --level=RAID1 raid.42 raid.49

Where do those numbers come from in "raid.<#>"?  If I didn't first do an
install from CD, how would I know what numbers to use?
Is it recommended to include swap in a raid 1 configuration?

Thanks for your input!   
-- 

Brian K. Jones
System Administrator
Dept. of Computer Science, Princeton University
jonesy@xxxxxxxxxxxxxxxx
Voice: (609) 258-6080



_______________________________________________
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