LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-28-2010, 11:26 AM   #1
rippfx
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
how to recover softraid information?


Hi,

My primary HDD (OS) died and I lost all config related to my softraided array. I replaced the HDD and reinstalled the OS but it can't create a raid volume. It does see the Linux Raid volume but it doesn't assemble it. Here is the output.
Code:
root@snowwolf:~# sfdisk -l

Disk /dev/sda: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+  91200   91201- 732572001   fd  Linux raid autodetect
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty

Disk /dev/sdb: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+  91200   91201- 732572001   fd  Linux raid autodetect
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty

Disk /dev/sdc: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1          0+  91200   91201- 732572001   fd  Linux raid autodetect
/dev/sdc2          0       -       0          0    0  Empty
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty

Disk /dev/sdd: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdd1   *      0+  91200   91201- 732572001   fd  Linux raid autodetect
/dev/sdd2          0       -       0          0    0  Empty
/dev/sdd3          0       -       0          0    0  Empty
/dev/sdd4          0       -       0          0    0  Empty

Disk /dev/sde: 30401 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sde1   *      0+  29649   29650- 238163593+  83  Linux
/dev/sde2      29650   30400     751    6032407+   5  Extended
/dev/sde3          0       -       0          0    0  Empty
/dev/sde4          0       -       0          0    0  Empty
/dev/sde5      29650+  30400     751-   6032376   82  Linux swap / Solaris
I need to combine sda1 sdb1 sdc1 sdd1 but not too sure where to go from here. Can someone point me to the right direction?

thanks in advance!
 
Old 01-29-2010, 09:11 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
If I understand you well, you did create the RAID array in your newly installed OS, but you cannot make it to assemble?

The reason for this is that there are different UUIDs on the disks (they already were there) and in your new mdadm.conf file.

Did you try use the mdadm assemble command with the --scan option?

Otherwise you might discover the UUIDs on disk and paste them in the mdadm.conf file.

jlinkels
 
  


Reply



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
looking for softraid 0 how to zogthegreat Linux - Hardware 1 08-09-2009 11:44 AM
Trashed LVM partition information - Can I recover it? westiej Linux - Software 1 05-21-2009 02:09 AM
INFORMATION!!!!! rm will move deleted data to Trash.........For future recover farrukhndm Linux - Server 5 09-01-2008 12:57 PM
Softraid 5 messed up. Pls help to recover Ossah Linux - Server 5 04-05-2007 10:52 AM
softraid-1: Disk name changes when plug in PhillipHuang Linux - General 2 02-13-2007 09:30 PM

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

All times are GMT -5. The time now is 07:49 AM.

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
Open Source Consulting | Domain Registration