LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2008, 07:04 PM   #1
cburwell
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
mdadm Rebuild help!


I'm having some trouble rebuilding my raid 5 array with 5 x 500GB hard drives.

I come home the other day and discovered that my file server had crashed. It ended up being the motherboard, so I took the MB from my desktop and started going. I took this opportunity to upgrade to OpenSUSE 11, since the OS sits on a separate hard drive from the RAID array.

To give you an idea of my setup, I have a SIL24 SATA controller with a Adaptec SATA port multiplier. All of this runs into a 5-drive hot-swap bay.

I installed SUSE 11 on a new hard drive and booted up. I tried reassembling the array using the partition manager, but it could not detect the filesystem type. I ran various commands and it seems that every command returned something about the superblocks.

I then decided to run a mdadm --create --raid-level=5 --devices=5 /dev/sda1 .... etc command. Now when I try to mount the /dev/md0 device it says the fs is ext4.

The partitions are still there on each drive (Fd, Linux raid autodetect), and all I want to do at this point is get the array running so that I can get the over 1TB of data off.

Any help is appreciated.
 
Old 09-25-2008, 07:26 AM   #2
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
The --create options for mdadm will blow away your existing array, essentially destroying all reference to your existing data. You can't mount the filesystem because it doesn't exist anymore.

Last edited by reddazz; 10-14-2008 at 05:53 PM. Reason: removed spammed link
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
raid5 with mdadm does not ron or rebuild adiehl Linux - General 12 07-26-2010 10:01 AM
mdadm: how to avoid complete rebuild of RAID 6 array (6/8 active devices) pbwtortilla Linux - Server 4 12-25-2009 08:06 PM
unable to load MDADM module BUT mdadm works?!?!?! alirezan1 Linux - Software 2 09-08-2008 07:58 PM
replace failure disk and rebuild RAID with mdadm ufmale Linux - Software 0 11-15-2007 02:24 PM
mdadm reports no superblock trying to rebuild failed RAID 5 hotcut23 Linux - Hardware 0 08-18-2007 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration