FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using mdadm on a FC1 box for raid5. I put it together when FC1 was it. FC3 still has mdadm, just a more recent version.
It's sort of hard to tell from your post how you want to use the raid. Striped for speed or mirror for redundancy? I searched LQ, googled and even read up at tlpd.org. Then the mdadm man page became my friend. There are many helpful guides and postings available. But, the particular ones vary by how you intend to use the raid.
thanks, I have to do some raid5 and raid1 configs, so just telling me mdadm gets me on the right track. If there are any tips you have, that would be great, otherwise I will get to muddling through it on my own.
Originally posted by ksun thanks, I have to do some raid5 and raid1 configs, so just telling me mdadm gets me on the right track. If there are any tips you have, that would be great, otherwise I will get to muddling through it on my own.
Thanks!
Did you get any more than one RAID array working?
I managed to get /dev/md0 working (automatically from boot), but am having trouble making a second array. (BTW, I am using XFS, if that makes any difference)
depending on what you are tring to accomplish, I generated a kickstart disk to setup a raid 1 mirroring 2- 80 gig IDE drives the file type can be set to whatever you like, this is a sample of mine for ext3,,,,
# Kickstart file automatically generated by anaconda.
install
cdrom
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
keyboard us
xconfig --depth=16 --resolution=800x600 --defaultdesktop=GNOME
network --device eth0 --bootproto static --ip x.x.x.x --netmask 255.255.255.0 --gateway --hostname fedora3
rootpw --iscrypted $1$AHtk58lg$1QB9JUl.w51TaKH4F8nlM1
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/Chicago
bootloader --location=mbr --append rhgb quiet
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part raid.9 --size=112 --ondisk=sda
part raid.10 --size=112 --ondisk=sdb
part raid.17 --size=1000 --grow --ondisk=sda
part raid.14 --size=1000 --grow --ondisk=sdb
part raid.13 --size=6096 --ondisk=sda
part raid.15 --size=6096 --ondisk=sdb
part raid.11 --size=10240 --ondisk=sda
part raid.12 --size=10240 --ondisk=sdb
part raid.32 --size=1000 --grow --ondisk=sda
part raid.37 --size=1000 --grow --ondisk=sdb
part swap --size=512
raid /home3 --fstype ext3 --level=RAID1 raid.32 raid.37
raid /home2 --fstype ext3 --level=RAID1 raid.17 raid.14
raid /home --fstype ext3 --level=RAID1 raid.13 raid.15
raid / --fstype ext3 --level=RAID1 raid.11 raid.12
raid /boot --fstype ext3 --level=RAID1 raid.9 raid.10
Originally posted by dwater Did you get any more than one RAID array working?
I managed to get /dev/md0 working (automatically from boot), but am having trouble making a second array. (BTW, I am using XFS, if that makes any difference)
Any advice?
Max.
Thanks. I managed to get it working by editting the file /etc/rc.sysinit and adding a call to '/sbin/MAKEDEV md' just before the call to '/sbin/mdadm'.
I don't know if this is a good fix or not, but it works very well. I am concerned that my change will disappear when I upgrade...I wonder how I would submit this as a fix to be included in the next bug fix release?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.