Solved

Recover from dead hard drive in RAID 1 array CentOS 5

Posted on 2009-05-19
3
634 Views
Last Modified: 2013-11-08
Hi,

I have a server running CentOS 5 with 2 x 18gb Compaq SCSI hard drives in software RAID 1. One of the hard drives is dead and the machine wont boot properly, during the boot process the file system is checked it gives the following error:

fsck.ext3: Bad magic number in super-block while trying to open /dev/hda1 [FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
*** Warning -- SELinux us active
*** Disabling security enforcement for system recovery.
*** Run ' setenforce1 ' to reenable.
Give root password for maintenance
(or type Control-D to continue):

I have two new hard drives which I plan on using with this machine for the system and storage (2 x 500gb Hitachi SATA) currently the 18gb drives are for the system and there is a 500gb seagate IDE for the storage.

How do i recover the data from the working 18gb drive to the new 500gb hitachi drives which will be in raid 1?
0
Comment
Question by:pabgm
3 Comments
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
Boot to a LiveCD like knoppix or mepis, then edit your /etc/fstab file and comment out the /dev/hda1 line. After that try a normal reboot.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
First I will try to share a design of a Veeam Backup Infrastructure without Direct NFS Access backup. Note: Direct NFS Access backup transport mechanism is only available in Veeam v9 In above I try to design the Veeam Backup flow between i…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now