Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th October 2009, 15:43
VitalSpark VitalSpark is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re-establishing Software RAID (mdadm)

Hi guys, looking for a little bit of assistance with Ubuntu Server 6.06 LTS. What happened is we had an issue a little while back that required us to restore from a backup that we created while making changes. When we restored from backup the server wouldn't boot. Before, it was booting off of md0 but after imaging, the only HD that was available was sda so I had to make changes to mount points in order to reflect the device changes.

Now we would like to re-establish the redundant array. The only issue is that a reload of Ubuntu and reconfigure of ISPconfig is probably out of the picture. What I am wondering is: is there any way to create some redundancy without having to reload the whole thing. Any help or suggestions would be appreciated.

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 15th October 2009, 14:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

This page shows how you can rebuild a RAID array (software RAID1): http://www.howtoforge.com/how-to-set...ebian-lenny-p4
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th October 2009, 16:14
VitalSpark VitalSpark is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for your reply falko. I read through all the information on that page, and it all seems to refer to only using md devices. Well, after restoration, my system has managed to lose all md devices and now only has one sda device. Just one question, if I were to run mdadm and create a RAID 1 array with sda and sdb by running (roughly) "mdadm --create /dev/md0 /dev/sda /dev/sdb" (i know it's incorrect syntax), but would that wipe out the data on the drive?
Reply With Quote
  #4  
Old 16th October 2009, 14:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

The guide http://www.howtoforge.com/how-to-set...n-debian-lenny shows how to set up software RAID1 on a running system. I guess it should work for your situation as well.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
VitalSpark (16th October 2009)
  #5  
Old 16th October 2009, 15:00
VitalSpark VitalSpark is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Many thanks falko, I shall give this a try soon. Too bad I was unable to locate this page myself
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
software raid problem Daisy Installation/Configuration 5 6th January 2010 13:02
Cant instal ubuntu 8.04 with software raid Meskis Installation/Configuration 4 12th August 2009 21:26
RAID 5 Rescue Help keipou Server Operation 0 4th March 2009 04:09
problem with boot from raid - How To Set Up Software RAID1 on a running system (etch) Marsbar HOWTO-Related Questions 5 6th September 2008 23:32
SATA Software RAID 1 on Linux mphayesuk Installation/Configuration 2 21st February 2006 11:31


All times are GMT +2. The time now is 13:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.