LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-12-2015, 09:39 AM   #1
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Rep: Reputation: Disabled
Raid 1 and/or 10


Hello, I was put in charge of two servers which utilize RAID but I am not too knowledgeable about RAID. Mainly I'm just looking for peace of mind.
From what I understand, RAID 1 and 10 have fault tolerance and a disk can be replaced should it have issues. We have a Dell Poweredge 1800 with hardware RAID1 (Fedora) and another Dell server running software RAID10 via CentOS.
Thanks in advance.
1) My main concern right now is this: If a disk fails and I replace it, does it automatically know which disk is the new one? I wouldn't want it to overwrite the existing disk with the empty new one and end up with nothing. This server doesn't have hot-swap, so I'll have no choice but to power it down if/when I replace the drive.
2) If my RAID card fails and I have to get a new one, does it have to be an identical model? Will it auto-detect the drives and have everything work automatically?
 
Old 03-12-2015, 11:48 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Both the hardware RAID and software RAID operate similarly. They put a label on each disk so they know what is part of the RAID and what is not. The only time they could be confused is if you re-use a drive that already has RAID data on it. It's a good idea to overwrite the start and end few MB of a drive before using it in another system.

Software RAID will not use the new disk until you manually add it to the RAID using mdadm.

The hardware RAID card has a utility for managing RAID. If the hardware RAID card fails you need the same model, and may need the same firmware version if they have changed the on-disk metadata format. On the high-end RAID you would need to import the RAID set to a new controller. Not sure about the card-based RAID as I avoid them. The performance is generally not as good as software RAID and it has the single point of failure.
 
Old 03-12-2015, 12:32 PM   #3
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Original Poster
Rep: Reputation: Disabled
Thank you. Do you know of any step-by-step guides for repairing software RAID via mdadm? The OS itself is on the array.

EDIT: I found this which shouldn't be too different from CentOS: http://kamlau.com/software/how-to-re...raid-10-array/
Does it look good to you?

Also I also did a ddrescue to copy data from the RAID onto a single disk. Would it work if I copied it back the same way?

Last edited by Toasterman; 03-12-2015 at 12:44 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Intro to Nested-RAID: RAID-01 and RAID-10 LXer Syndicated Linux News 0 01-08-2011 12:12 AM
Chosing a RAID for NAS: HW Raid, FRAID, SW Raid StefanAO Linux - Server 2 08-29-2009 11:43 PM
S.W RAID vs RAID accelerator (FastTrakR TX4310 ) @ RAID 1 David Zfira Linux - Newbie 6 07-29-2009 11:13 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration