Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Recover from dead hard drive in RAID 1 array CentOS 5

Posted on 2009-05-19
3
Medium Priority
?
643 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 2000 total points
ID: 24430297
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

715 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