LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-14-2003, 07:12 PM   #1
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
RH8, RAID1, Dead Drive


I have aquired a RedHat 8 server and the customer wants me to rebuild his raid mirror since one of the drives is dead.

Now how do i rebuild it? I threw in a new drive and booted up and it didnt rebuild it... so i am kinda stumped.

I read a few posts but none are working.

Could anyone help thanks!

I can provide the information you need to help, but I am not sure what information you may need.

Thanks
 
Old 10-14-2003, 07:27 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Welcome to LinuxQuestions!

You need to use raidhotadd to add the new drive to the set. Once this is done it will start to rebuild sliently in background. You'll need to create the necessary partitions before you add the drive. I would suggest you have a look at http://www.tldp.org/HOWTO/Software-RAID-HOWTO-6.html the HOWTO is a little old but still useful.

cheers

Jamie...
 
Old 10-14-2003, 07:27 PM   #3
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Also just to note, it isn't showing the new drive and I am not sure why
 
Old 10-14-2003, 07:28 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
What do you mean by isn't showing the new drive? Where are you looking? Have you created any partitions etc?

cheers

Jamie...
 
Old 10-14-2003, 07:30 PM   #5
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Actually I havent made any partitions... my bad how do i make partitions that are idential to the other drive?

and thanks for welcoming me
 
Old 10-14-2003, 07:42 PM   #6
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
When ever I try and make a partition it seg faults and kicks me out of fdisk
 
Old 10-15-2003, 02:44 AM   #7
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Uhm... Thats rather odd. I was going to suggest that you check the remaining drive to see how big the partition is, and create one of the same size on the new disk. What command are you using to start fdisk?

cheers

Jamie...
 
Old 10-15-2003, 11:23 AM   #8
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
fdisk /dev/hdb
 
Old 10-15-2003, 06:42 PM   #9
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You are running that as root yeah?

cheers

Jamie...
 
Old 10-15-2003, 06:43 PM   #10
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
heh, yea some one else has set this up, can i clean out the raid stuff and start it from scratch?
 
Old 10-15-2003, 06:51 PM   #11
hardtarget_x
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Yes to the root question
 
Old 10-15-2003, 06:57 PM   #12
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You could delete the raid set and start again if you wish, although that won't solve not being able to fdisk the new drive! Note that you would loose all data on the raid set.

cheers

Jamie...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dead Hard Drive dnorseman Linux - Hardware 4 06-29-2005 04:46 PM
Dead NTFS drive Joe Soap General 4 06-10-2005 01:38 PM
Dead Hard Drive? gr3ygh0s1 Linux - Hardware 3 05-26-2005 02:58 PM
grub 17 ... Hard drive dead? claudius753 Linux - General 2 01-21-2005 04:31 AM
hard drive dead? beaucoup Linux - Hardware 10 08-19-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration