Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Peripherals / Hardware > recover/repair/remount an md0 device

Forgot Password?
 Peripherals / Hardware   Is your hardware supported? Having trouble getting some hardware working? Post here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-13-2009   #1 (permalink)
Just Joined!
 
Join Date: Apr 2009
Posts: 2
recover/repair/remount an md0 device

Hi there,

I have a huge problem: after a power fluctuation, my server crashed. The Centos linux was installed on a 3 USB sticks array : sda2 ,sdb1,sdc1 with a small boot partition on sda1. On reboot it gives me now a kernel panic error. As I still hope to recover some of my data (settings mostly) I'm trying to remount the drives on a laptop.
Got past some mdadm.conf problems, and now I get:

# mdadm --examine --scan
ARRAY /dev/md0 level=raid0 num-devices=3 UUID=68329964:dfc9489f:29b9f808:170413ab

# mount /dev/md0 /2
mount: you must specify the filesystem type

# mount -t ext2 /dev/md0 /2
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so

# mdadm -A /dev/md0
mdadm: /dev/md0 has been started with 3 drives.

# cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 sda2[0] sdc1[2] sdb1[1]
11726848 blocks 256k chunks

unused devices: <none>


I'm not sure the order in the mdstat return is correct: sda2[0] sdc1[2] sdb1[1] or the "256k chunks"
I'm not convinced that all data is lost so if you have any suggestion on what I may try to read something, I'll be eternally grateful.

Thank you
julia2009 is offline  


Reply With Quote
Old 10-13-2009   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Posts: 1,135
Quote:
level=raid0
You cannot recover a failed RAID 0 device.
HROAdmin26 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:56 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2