[RE]How to do a recovery of a degraded RAID1

"James Olson" <[email protected]>
Newsgroups gmane.linux.ataraid
Organization Lycos. Inc.
Message-ID <20070812161408.HM.0000000000000Tr@big_spender12.bos-mail-wwl14.lycos.com>
On the raid BIOSes that I have tried, you can see a progress bar while you are rebuilding the mirror from within the BIOS. When it hits 100% it is done (takes about an hour or so) Do you get a progress bar at all? Perhaps you need to look up your raid BIOS documentation as to how to get it to rebuild the mirror?

---------[ Received Mail Content ]----------

Subject : How to do a recovery of a degraded RAID1

Date : Sun, 12 Aug 2007 14:33:54 +0200

From : Thomas_Schwanhäuser <[email protected]>

To : "[email protected]" <[email protected]>

Hi all,

I currently have two servers both have been setup with a RAID1 configuration in the motherboard's BIOS. One server uses NVIDIA and the other ISW. Both of them have a failed hard drive and I'm having difficulties to get the replaced drive resynced.

Because both now behave in the same way, I concentrate with the following explanation on the server using the ISW metaformat.

What I did do so far was to replace the drive, go to the RAID Bios of Intel and set the array to be rebuild. After this, the status on each boot of the array is "Rebuilding". However, I was not able to see any progress, even after a week, the RAID Bios still showed the status to be "Rebuilding" on a reboot.

I found other posts on this list which say, that one has let the motherboards BIOS let to the recovery process. So now I'm wondering how this can be actually performed. I went to the BIOS and kept it open for 24hrs (the hard drive is 160GB big), now after a reboot, it's still "rebuilding". However checking the content, it still looks like that nothing happened.

Here is some debug information:

************ FDISK shows no partition table on second drive ********************

[root@web4 ~]# fdisk -l /dev/sda

Disk /dev/sda: 164.6 GB, 164696555520 bytes

255 heads, 63 sectors/track, 20023 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sda1 * 1 13 104391 83 Linux

/dev/sda2 14 20022 160722292+ 8e Linux LVM

[root@web4 ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 164.6 GB, 164696555520 bytes

255 heads, 63 sectors/track, 20023 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdb doesn't contain a valid partition table

***********************************************************************************

dmraid believes the set is "ok", although it should be degraded.

[root@web4 ~]# dmraid -s

*** Group superset isw_eabdhggeia

--> Subset

name : isw_eabdhggeia_Volume0

size : 321667072

stride : 128

type : mirror

status : ok

subsets: 0

devs : 2

spares : 0

[root@web4 ~]# dmraid -r

/dev/sda: isw, "isw_eabdhggeia", GROUP, ok, 321672957 sectors, data@ 0

/dev/sdb: isw, "isw_eabdhggeia", GROUP, ok, 321672957 sectors, data@ 0

*********************************************************************************

The system is a Fedora 6 installation (2.6.20-1.2962.fc6) with

dmraid version: 1.0.0.rc13 (2006.10.11) debug

dmraid library version: 1.0.0.rc13 (2006.10.11)

device-mapper version: 4.11.0

My understanding from reading other posts is that there is no way at the moment to do an "online rebuild". So if anyone has some tips for me how the rebuild can be performed for an ISW and/or NVIDIA installation, I would much appreciate it.

Furthermore I suggest to add a note to the manpages of dmraid a note that online rebuilds are not yet supported.

Many thanks for your help in advance.

Best regards,

Thomas

_______________________________________________

Ataraid-list mailing list

[email protected]

https://www.redhat.com/mailman/listinfo/ataraid-list

----------

Get all the Hottest Artists on Your Cell Phone - Plus 10 Bonus Tones Today!

Find Your New Ringtone at Lycos Mobile .

_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.