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
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