LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-30-2005, 07:02 PM   #1
RicoCarmen
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
get my data back after mdadm --create


I used to use the "raidstart" command to mount an existing array. Since while that command is not in Debian distribution no more, I was looking for a way to do it with mdadm.

In a hurry I ran "mdadm -C" thinking that it was one of the steps for mounting an
existing array. Now I know tahat the thing i need is "mdadm -A" but I can't mount my array no more, because now fsck.ext2 can't find the superblock on the array!

Did I forever ruin my raid array? Is there a way to recover my
reiserfs superblock and the original array data?

Thanks

Rico
 
Old 10-23-2005, 07:18 PM   #2
RicoCarmen
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Here is the solution:

I wrote to Neil Brown, the author of mdadm utility:

He said:
You can probably just re-do it.
Your mistake should not have corrupted any data on the devices, on the
meta-data (super blocks).
So try
mdadm -S /dev/md0 # to stop the array if it is still running
mdadm -C /dev/md0 -l5 -n3 -p ls -c 32 /dev/hde /dev/hdf /dev/hdg

NeilBrown
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I screwup LVM Just want the data back DropSig Linux - General 0 11-28-2005 08:28 PM
starting to panic, hope i can get my data back santaliqueur Linux - Software 12 10-04-2005 10:46 PM
Can I back-up data from init3 rescue mode? d-kam Linux - Newbie 19 03-20-2005 02:38 PM
Use mdadm create raid-5 with parity error Friarchen Linux - Software 1 10-08-2004 02:12 AM
How to back up data onto a external HDD in RHL ?? sudhir Linux - General 8 09-26-2003 05:46 AM


All times are GMT -5. The time now is 02:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration