LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 07-30-2008, 06:34 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 132

Rep: Reputation: 15
How to import Software RAID device in to RHEL 5 new install


I have a RHEL 5 installation with software raid implmented. My boot hard drive has gone bad and I need to replace it. After replacing the drive and re-installing RHEL 5 I want to import the previous sofware raid devices. I have data on them that I want to keep.

Does anyone know how I can do this?

Thanks
 
Old 07-31-2008, 02:43 AM   #2
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 320

Rep: Reputation: 30
Is there more than one harddisk or you have implemented raid using mulltiple partitions on the same disk?

using rescue disk, find the problem with the harddisk

if yr boot loader is corrupted, install it using grub-install
 
Old 07-31-2008, 07:30 PM   #3
louisb
Member
 
Registered: Aug 2003
Posts: 132

Original Poster
Rep: Reputation: 15
The entire boot drive is bad. There are 10 drives in the software RAID. Since the boot drive is bad I need to replace it and install a new copy of RHEL 5.

From there how do I get the new install of RHEL 5 to recognize the software RAID? The software RAID is RAID 5.

Thanks
 
Old 07-31-2008, 11:35 PM   #4
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 320

Rep: Reputation: 30
I think u have installed raid support by using the partitions of the same disc.

and also ur boot loader is corrupted.

boot rhel5 using rescue disc(first cd ) on the boot prompt, type
boot:linux rescue

after the rescue installation,
# chroot /mnt/sysimage
# grub-install /dev/hda
fdisk -l will list all mounted devices including raid

go to the directory of the device and confirm files are there.
You can create a new non raid partition and copy the contents of the raid device to it. Also you can remove the raid device if thereis one failed and create a new raid partition and add it.
 
Old 08-06-2008, 10:43 AM   #5
louisb
Member
 
Registered: Aug 2003
Posts: 132

Original Poster
Rep: Reputation: 15
The physical disk drive has failed. Therefore, I need to replace it with a new disk drive. After installing the new disk drive and installing a new copy of RHEL5 on the disk drive. I then want have access to the software RAID devices. I don't have a rescue disk. How can I get my new installation of RHEL 5 to recognize the software RAID devices from previous install?


Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
software raid - linux device naming unkie888 Linux - Software 5 11-09-2008 03:45 PM
How to import Virtual RAID devices into New RHEL 5 Install louisb Linux - Enterprise 0 07-28-2008 08:04 PM
Installing RHEL 5 w/ Software RAID 1 diamondgeezer1974 Linux - Software 1 06-04-2008 10:30 AM
Software RAID issue with a RHEL 4 server Vanyel Linux - Server 9 09-07-2007 04:00 AM
software raid - device rearrangement after reboot when drives are disconnected rtspitz Linux - Hardware 5 07-08-2007 08:00 PM


All times are GMT -5. The time now is 05:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration