RAID partitions and devices in ks.cfg

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

 



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





[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