PDA

View Full Version : FC6 hardware RAID 1 help, please


pcdunx
17th March 2007, 02:26 PM
Hi, I am a relative newbie to Linux and am having a bit of a problem setting up hardware RAID 1.

System Info:-

1*20g SCSI drive
2*250g IDE drives, connected to a PCI RAID card, configured in PCI RAID setup util as RAID 1

I have done a clean install of FC6, I chose NOT to use the RAID drives for the Linux setup, so FC6 is only installed on the single 20g SCSI drive.

I want to use the 2*250g as a mirrored RAID 1 set, giving me a single 250g drive which is mirrored in case of drive failure.

This 250g drive is to be a general purpose file store (also used by all networked Doze pc's)


fdisk -l shows:-

Disk /dev/hda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30404 cylinders
Units = sylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 30401 244196001 8e Linux LVM

Disk /dev/hde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30404 cylinders
Units = sylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 1 30401 244196001 8e Linux LVM

Disk /dev/sda: 18.2 GB, 18210036736 bytes
255 heads, 63 sectors/track, 2213 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 2213 17671500 8e Linux LVM



df shows:-


Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
16568712 2714784 12998684 18% /
/dev/sda1 101086 10916 84951 12% /boot
tmpfs 127504 0 127504 0% /dev/sim



LVM shows:-

Uninitialized Entities
/dev/hda
Partition 1
/dev/hde
Partition 1

Note - Each partition is showing in LVM as Unmounted, with No File system



My question is how to I format & mount this 'single' RAID drive. DO I use LVM or do I do it using command line. Which ever method I use, how do I do it, which of the 2 devices do I setup - hda or hde (or both)?????

I am really confused over this one, so would really appreciate some urgent hep as my old NT box is about to die and I need this Linux box up ASAP.

If it makes any difference I am also going to be setting up the Linux box as the PDC for the Doze domain when I retire the NT server, but I know how to do that bit (almost)

Thanks

markkuk
17th March 2007, 02:37 PM
It appears that your "RAID" card is a simple IDE adapter with a BIOS program to create a software RAID array and some proprietaty drivers to use that software RAID in Windows. Linux sees just the two IDE drives. Set up a Linux software RAID on the drives using the mdadm software included in FC6.

pcdunx
17th March 2007, 02:45 PM

Thanks for the very prompt response. It all starts to make a lot of sense now, no wonder I was so confused.

I will pull the 'RAID' card now, use the onboard IDE and give mdadm a try.

Once again many many thanks !!