[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

Add hardware RAID 1 to existing linux installation

Hi,

I have Fedora Core 4 installed on a PC with two IDE disks.  I've just added a SATA RAID card and attached 2 identical 500Gb SATA disks.  I want to set up a 500Gb mirrored partition (RAID1) using these 2 disks, purely for file storage.

As far as I can make out, I've correctly made the RAID 1 array using the SATA card's utility at boot-up.  The trouble is (or perhaps this is normal), Fedora can see both SATA disks and is allowing me to partition them independently (allthough not mount, for some reason).

Can anyone give me step-by-step instructions on how to partition, format and mount these disks as a single 500Gb mirrored partition?

Thanks in advance
0
mark_D74
Asked:
mark_D74
  • 2
3 Solutions
 
joolsCommented:
> As far as I can make out, I've correctly made the RAID 1 array using the SATA card's utility at boot-up.  The trouble is (or perhaps this is normal), Fedora can see both SATA disks and is allowing me to partition them independently (allthough not mount, for some reason).

thats a bit of a worry, if you correctly configured hardware raid you should only see one disk, perhaps you'd better post back some of what you have done with any messages you have received.
0
 
darrickhartmanCommented:
Not all "hardware" raid cards are really "hardware" raid.  Most cheaper cards require some drivers and only partially do a hardware raid.  

Please be specific about the hardware you're using if you want a good answer.

3ware, LSI Logic and Areca make good hardware raid cards that are supported in Linux.  If you have something from Highpoint, it's not a real hardware raid and will require drivers in the OS to work.  At that point, you're better off with a Linux software raid array.
0
 
diepesCommented:
I would personally go for software raid1.
Advantages:
1. Easy to monitor (#cat /proc/mdstat )
2. Better chance of recovery on other hardware if the Card/PC fails.
3. Better read speed, Linux can split reads between mirrored drives.

The cpu overhead is minimal.

Some benchmarks (HW>SW) suggest HW is faster especially on data write.
http://www.linux.com/feature/140734
http://www.mail-archive.com/linux-raid@vger.rutgers.edu/msg07932.html
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now