Main Page | Report this Page

 




 

 

Linux Forum Index  »  Linux - Mandrake Forum  »  Recovering RAID 0 data
Page 1 of 1    

Recovering RAID 0 data

Author Message
Philippe Martin
Posted: Sat Apr 29, 2006 8:28 am
Guest
Hi,

A friend of mine had a RH system which boot disk crashed.

We recovered 2 80G hard disks which I am told where in RAID 0 (spanned)


I Installed these two drives on a Mandriva 2006 system, and diskdrake does
see two extra disks:

hdd1 = RAID = 1G
hdd2 = RAID = 73G

hdb1 = RAID = 1G
hdb2 = RAID = 73G

I do not know which disk is was the "first" in the sequence.


When I tell diskdrake to add the partitions to raid 0 (md0) and then try to
mount the raid partition that appears in the raid tab, diskdrake tells me
that unless I format the partition, the information will not appear
in /etc/fstab.

I'm new to raid : is there a way to recover these disks ?

Regards,

Philippe
 
Philippe Martin
Posted: Sat Apr 29, 2006 11:37 am
Guest
Patrick,

The disk that went bad is not raid. I currently assume that the raid disks
are OK.

My problem is: How do I mount them ?

Regards,

Philippe



patrick_darcy wrote:

Quote:
Philippe Martin wrote:

Hi,

A friend of mine had a RH system which boot disk crashed.

We recovered 2 80G hard disks which I am told where in RAID 0 (spanned)


I Installed these two drives on a Mandriva 2006 system, and diskdrake
does see two extra disks:

hdd1 = RAID = 1G
hdd2 = RAID = 73G

hdb1 = RAID = 1G
hdb2 = RAID = 73G

I do not know which disk is was the "first" in the sequence.


When I tell diskdrake to add the partitions to raid 0 (md0) and then try
to mount the raid partition that appears in the raid tab, diskdrake tells
me that unless I format the partition, the information will not appear
in /etc/fstab.

I'm new to raid : is there a way to recover these disks ?

Regards,

Philippe


raid 0 has no redundancy. when a drive goes bad u need to just reformat
and start over. raid 5 will give u redundancy. your data is ruined.

raid 5 requires at least 3 discs to work.

i am using raid 0 on my computer with 4 drives. i do this because
its fast, if one of my drives goes bad then i have to start over.

with raid 5 u can just replace the bad disc with a new one and it will
fix itself up.
 
Walter Mautner
Posted: Sat Apr 29, 2006 1:49 pm
Guest
Philippe Martin wrote:

Quote:
Patrick,

The disk that went bad is not raid. I currently assume that the raid disks
are OK.

My problem is: How do I mount them ?

You can try something like

mdadm --assemble --help for a brief syntax description.

First, use mdadm -E /dev/hdXY for retrieving the (hopefully existing)
persistent superblock(s), then add the appropriate stanzas
to /etc/mdadm.conf, then run the assemble command.
Here a snippet of my mdadm.conf for comparison:
DEVICE /dev/hdb1 /dev/hdd2 /dev/hdb7 /dev/hdd7
ARRAY /dev/md0 UUID=9c262b45:9b359bc7:65ea7802:61c0ef8d auto=yes
ARRAY /dev/md1 UUID=1e1413c2:a97660c4:fb019aac:21a16e60 auto=yes
.......
--
vista policy violation: Microsoft optical mouse detected penguin patterns
on mousepad. Partition scan in progress to remove offending
incompatible products. Reactivate MS software.
Linux 2.6.14-mm1 [LinuxCounter#295241,ICQ#4918962]
 
Philippe Martin
Posted: Sat Apr 29, 2006 2:26 pm
Guest
Thanks Walter.

Philippe


Walter Mautner wrote:

Quote:
Philippe Martin wrote:

Patrick,

The disk that went bad is not raid. I currently assume that the raid
disks are OK.

My problem is: How do I mount them ?

You can try something like
mdadm --assemble --help for a brief syntax description.

First, use mdadm -E /dev/hdXY for retrieving the (hopefully existing)
persistent superblock(s), then add the appropriate stanzas
to /etc/mdadm.conf, then run the assemble command.
Here a snippet of my mdadm.conf for comparison:
DEVICE /dev/hdb1 /dev/hdd2 /dev/hdb7 /dev/hdd7
ARRAY /dev/md0 UUID=9c262b45:9b359bc7:65ea7802:61c0ef8d auto=yes
ARRAY /dev/md1 UUID=1e1413c2:a97660c4:fb019aac:21a16e60 auto=yes
......
--
vista policy violation: Microsoft optical mouse detected penguin patterns
on mousepad. Partition scan in progress to remove offending
incompatible products. Reactivate MS software.
Linux 2.6.14-mm1 [LinuxCounter#295241,ICQ#4918962]
 
iforone
Posted: Sun Apr 30, 2006 9:23 am
Guest
Philippe Martin wrote:
Quote:
Hi,

A friend of mine had a RH system which boot disk crashed.

We recovered 2 80G hard disks which I am told where in RAID 0 (spanned)


I Installed these two drives on a Mandriva 2006 system, and diskdrake does
see two extra disks:

hdd1 = RAID = 1G
hdd2 = RAID = 73G

hdb1 = RAID = 1G
hdb2 = RAID = 73G

I do not know which disk is was the "first" in the sequence.


When I tell diskdrake to add the partitions to raid 0 (md0) and then try to
mount the raid partition that appears in the raid tab, diskdrake tells me
that unless I format the partition, the information will not appear
in /etc/fstab.

I'm new to raid : is there a way to recover these disks ?

Regards,

Philippe

[ more relevant info written a bit later]

Philippe Martin wrote:

Quote:
The disk that went bad is not raid. I currently assume that the raid disks
are OK.

My problem is: How do I mount them ?


Phillipe;
(NOTE: I am *no* RAID expert) and perhaps I missed something or
misunderstand entirely)

Allow me to ask;
1) Was the RAID0 (2x 80GB) originally a softRAID - or was it a Hardware
RAID originally? Are they (P)ATA, or SATA, or SCSI disks?

2) If Hardware RAID - was Madriva 2006 installed on a HDD in the
/*same*/ Mobo as the RAID originally lived? Also - are you using the
/Same/ Mobo RAID Controller/Chipset now?.

Perhaps, the (possible Hardware) RAID0 was created using a either a PCI
ATA/SCSI RAID Controller Card and therefore utilizing the Card's BIOS
and Controller for the RAID array originally?

While many Mobo Chipset RAID arrays are actually a softRAID, I still
think it would make a pretty big difference, if the RAID wasn't a Linux
softRAID to begin with.

* Can you tell us more about the System Hardware (Mobo / Chipset /
Controller) the RAID came from?
* Are both RAID disks installed into the same mobo it was created on?
* Was this indeed a Hardware RAID initally?

Regards
 
Philippe Martin
Posted: Sun Apr 30, 2006 9:52 am
Guest
iforone wrote:

Quote:
Philippe Martin wrote:
Hi,

A friend of mine had a RH system which boot disk crashed.

We recovered 2 80G hard disks which I am told where in RAID 0 (spanned)


I Installed these two drives on a Mandriva 2006 system, and diskdrake
does see two extra disks:

hdd1 = RAID = 1G
hdd2 = RAID = 73G

hdb1 = RAID = 1G
hdb2 = RAID = 73G

I do not know which disk is was the "first" in the sequence.


When I tell diskdrake to add the partitions to raid 0 (md0) and then try
to mount the raid partition that appears in the raid tab, diskdrake tells
me that unless I format the partition, the information will not appear
in /etc/fstab.

I'm new to raid : is there a way to recover these disks ?

Regards,

Philippe

[ more relevant info written a bit later]

Philippe Martin wrote:

The disk that went bad is not raid. I currently assume that the raid
disks are OK.

My problem is: How do I mount them ?


Phillipe;
Hi,


Quote:
(NOTE: I am *no* RAID expert) and perhaps I missed something or
misunderstand entirely)

Allow me to ask;
1) Was the RAID0 (2x 80GB) originally a softRAID - or was it a Hardware
RAID originally? Are they (P)ATA, or SATA, or SCSI disks?

Soft RAID 0


Quote:
2) If Hardware RAID - was Madriva 2006 installed on a HDD in the
/*same*/ Mobo as the RAID originally lived? Also - are you using the
/Same/ Mobo RAID Controller/Chipset now?.

the drive that crashed was a red hat thrid drive


Quote:
Perhaps, the (possible Hardware) RAID0 was created using a either a PCI
ATA/SCSI RAID Controller Card and therefore utilizing the Card's BIOS
and Controller for the RAID array originally?

While many Mobo Chipset RAID arrays are actually a softRAID, I still
think it would make a pretty big difference, if the RAID wasn't a Linux
softRAID to begin with.

* Can you tell us more about the System Hardware (Mobo / Chipset /
Controller) the RAID came from?
* Are both RAID disks installed into the same mobo it was created on?
* Was this indeed a Hardware RAID initally?

Regards

Regards,
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Sat Jul 31, 2010 4:37 pm