Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Okay I am trying to setup RAID on FC5, almost all the examples that I have found are for raidtools2, however FC5 does not have raidtools2. so i have been trying to use mdadm to do it, but I keep getting errors.
So anyway I need some help in setting up RAID to work on my system. Here is some preliminary information.
I had been told to use fdisk to change the ID of the drive and to make it a "Linux raid auto detect" and then do that on the other disk. That seemed to be okay, but then that was some instructions for raidtools2. mdadm I couldn't even get past the first one as it couldn't find sda5 or sdb5, it told me to use the swap partition is there is an increased chance of data loss with RAID 0, to use a partition that does hold any important data. so as you can see I am right now floating along and I need some help. If you have a better way I am all ears.
Okay so here is where I am at, besides frustrated to no end.
[root@mail1 ~]# fdisk /dev/sda
The number of cylinders for this disk is set to 19457.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): t
Partition number (1-6): 5
Hex code (type L to list codes): fd
Changed system type of partition 5 to fd (Linux raid autodetect)
Command (m for help): p
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 6540 52428127+ 83 Linux
/dev/sda3 6541 13067 52428127+ 83 Linux
/dev/sda4 13068 19457 51327675 5 Extended
/dev/sda5 13068 13328 2096451 fd Linux raid autodetect
/dev/sda6 13329 19457 49231161 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.