LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2015, 08:15 PM   #1
kurumi
Member
 
Registered: Apr 2010
Posts: 228

Rep: Reputation: 53
How to recover from Raid 1


Hi, I am running Redhat enterprise 7. I have disks configured for mirroring in RAid 1. If my primary disk failed, does the operating system know how to fail over and use the mirrored disk? What are the correct steps to temporarily use the mirrored disk, until I can find a replacement for the primary failed hdd.?
thanks
 
Old 05-05-2015, 09:54 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
This article gives decent example of mdadm sw-raid breaking mirror... Need to break md RAID1 configured root partitions and boot the system from each individual MD RAID leg.

Please note this is not recommended for production, but provided as reference to learn/use to become familiar in a controlled test environment on non-production equipment. I encourage you to play with it first in a test VM that might be similarly configured, so that you won't need to worry about making mistakes with it.

If you are working with a hardware RAID controller then it should be abstracted from RHEL7 and it only has the notion of a single [virtual|logical] disk that the controller presents to the OS regardless of the number of component [physical] disks comprising what the RAID controller presents. Or, if using LVM mirroring, the process will be slightly different than the article provided above demonstrating mdadm raid1.
 
  


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
Recover mdadm RAID after failure during RAID level change Caetel Linux - General 1 11-07-2013 10:38 PM
[SOLVED] Help with raid 5 recover fatmann66 Linux - Server 7 07-02-2012 10:01 PM
[SOLVED] Recover Raid 5 Milchknilch Linux - Software 1 03-17-2011 11:38 PM
Recover data from RAID 0 (fake RAID) from Win XP KiAnKo Linux - Hardware 4 04-23-2009 12:28 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM

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

All times are GMT -5. The time now is 04:15 PM.

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