LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-29-2004, 09:32 AM   #1
ksun
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
software raid on fc3


I used to use raidtab/mkraid to do software raid in redhat, what is the process in FC3?
 
Old 12-31-2004, 09:52 PM   #2
flysideways
Member
 
Registered: Jul 2003
Posts: 151

Rep: Reputation: 30
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.

Cheers.
 
Old 01-01-2005, 12:43 PM   #3
ksun
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
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!
 
Old 01-02-2005, 09:42 PM   #4
dwater
Member
 
Registered: Mar 2004
Distribution: redhat 9
Posts: 34

Rep: Reputation: 15
Quote:
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)

Any advice?

Max.
 
Old 01-06-2005, 10:20 AM   #5
linuxclown
LQ Newbie
 
Registered: Nov 2004
Location: Texas
Distribution: RedHat 9, Fedora 3
Posts: 3

Rep: Reputation: 0
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
 
Old 01-06-2005, 09:18 PM   #6
dwater
Member
 
Registered: Mar 2004
Distribution: redhat 9
Posts: 34

Rep: Reputation: 15
Quote:
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?

Any comments welcome.

Max.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM
Software RAID on FC3 rklosinski Linux - Software 0 01-18-2005 09:37 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration