How to do a recovery of a degraded RAID1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list

[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux