• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Software Raid

shaft

Limp Gawd
Joined
Jul 3, 2004
Messages
371
ok, im confused about how to setup software raid, im installing fedora core 4, i have 2 scsi hard drives, theyre on the small side, so i want to stripe for more space, data isnt critical so no biggie, i just am confused as hell what to specify, they are 9gb drives, i am doing
a 105mb boot partition, a 500mb swap, and the rest is just / , so what do i do, i read an online explanation and just got even more confused, any help is mucho appreciated
 
Let me just make sure you understand that in Raid0, you lose a drive ( or even an important bit of the drive ) you lose *everything* As long as you are clear on this.

I'm not sure how fc4 does it, but ( if I remember right ), here are the steps you need to take to get a raid drive setup:

1) Set the partition type to fd ( for linux raid auto something or rather )
2) setup your raid devices in /etc/raidtab ( there should be at least an example in there )
3) do mkraid <raid device> to initialize the raid array. All data on the drives will be destroyed
4) Activate the raid array ( raidstart I think ).

Let me know if you have any other questions.
 
the easiest way to do this would be to kickstart the system--if you haven't yet installed fedora there should be examples on the net, else use system-config-kickstart (i see this as one of the major advantages of rh/fedora). :)

then you'd have something like this in the kickstart file:
part raid.01 --grow --size 1 --ondisk sda
part raid.02 --grow --size 1 --ondisk sdb
raid / --level 0 --device 0 raid.01 raid.02


the fedora graphical installer should also help walk you through this too.


and, as mentioned, i personally wouldn't stripe data. instead i would do something like putting root (/) on one drive and putting home (/home) on the other one if it will be a desktop system where you'll have lots of files in your home directory, else putting /usr on the second drive if you plan on installing a boatload of packages and yada yada. this way, if one drive fails, you only lose the data on that drive. ... this isn't as flexible, but is easy and fairly safe.
 
XOR != OR said:
Let me just make sure you understand that in Raid0, you lose a drive ( or even an important bit of the drive ) you lose *everything* As long as you are clear on this.

I'm not sure how fc4 does it, but ( if I remember right ), here are the steps you need to take to get a raid drive setup:

1) Set the partition type to fd ( for linux raid auto something or rather )
2) setup your raid devices in /etc/raidtab ( there should be at least an example in there )
3) do mkraid <raid device> to initialize the raid array. All data on the drives will be destroyed
4) Activate the raid array ( raidstart I think ).

Let me know if you have any other questions.
An easier way to do all that is to use mdadm, which I believe builds on raidtools and takes care of a lot of the dirty work.
 
if you haven't installed it yet, it's really easy.

partition the drives manually and create a new parition on one of the drives. doing this, you can choose a "software raid" partition. do it again on another drive.

when you have chosen your partition layout, click on "software raid" and you can make a raid device by point and click.

it's that simple!
 
ahhhh, thats where i fukked up, i created the 3 softraid partitions on each drive before raiding them, thats must be why it said they were all in use, i have to create 1 per drive, raid them, then create sr partitions and raid those, correct?
 
i am not following your post, so you might have it correct, but i can't tell.


you must create a partition of type software raid on each drive you want in the raid scheme. you can put mre than one raid partition on each drive. then after they are created, you go to the software raid menu and decide which paritions go with each other and you put a filesystem and a mount point on each raid device.

don't forget a boot and swap partition.
 
yep, ez as could be, it was alot easier on the graphical install, i had to put a pci vidcard in for graphical install, its wasnt working with the onboard cirrus chip
 
Back
Top