Jump to content



Photo

Question about software RAID 1 in Linux.


  • Please log in to reply
5 replies to this topic

#1 deep1234

deep1234

    Neowinian

  • Joined: 23-August 05
  • Location: Sharjah, UAE

Posted 18 December 2012 - 22:02

Hi guys, Suppose that I have a system that have Linux Ubuntu configured as software raid 1. The questions here are :-

1 - Suppose of hardware failure of one of the drives that are in RAID 1. how easy it is compared to the hardware raid to install a new hard drive and configure it back as RAID 1?

2 - if for some reason the motherboard died. can I recover the data using recovery software? and/or can I use another motherboard and return the RAID 1 by using the same distribution of Linux?

and thank you...


#2 Mindovermaster

Mindovermaster

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 25-January 07
  • Location: /USA/Wisconsin/
  • OS: Debian Jessie
  • Phone: Samsung Galaxy SIII

Posted 18 December 2012 - 22:50

As I understand it, You have to rebuild your RAIDs in case of a drive failure.

If your motherboard dies, the drives will be treated as seperate drives until you RAID them once more.

Correct me if I'm wrong.

#3 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 18 December 2012 - 23:03

I think that Mindovermaster is mostly correct. If one of the drives fails, you will need to get another drive to rebuild the array. If the motherboard fails, you can move both drives to another machine and still access them as a RAID array; MDADM writes headers to both drives indicating they are part of the RAID group so motherboard failure shouldn't affect that. You can find a good RAID 1 tutorial (for Debian Etch, but it should work just as well for Ubuntu 12.04) here.

#4 Mindovermaster

Mindovermaster

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 25-January 07
  • Location: /USA/Wisconsin/
  • OS: Debian Jessie
  • Phone: Samsung Galaxy SIII

Posted 19 December 2012 - 01:09

I never had a motherboard with software RAID fail on me, so I wasn't sure on that. ;)

#5 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 19 December 2012 - 03:20

Yeah, motherboards don't really fail very often. The great thing about RAID 1 in Linux is its resiliency. Since it doesn't rely on any special hardware or a software configuration that can't be easily replicated, its very easy to recovery in almost any situation. Take it from experience: RAID 1 is indispensable when you have major hardware failure with critical business data.

#6 Mindovermaster

Mindovermaster

    Neowinian Senior

  • Tech Issues Solved: 10
  • Joined: 25-January 07
  • Location: /USA/Wisconsin/
  • OS: Debian Jessie
  • Phone: Samsung Galaxy SIII

Posted 19 December 2012 - 04:44

True dat. I only ever did RAID1 myself.