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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-14-2003, 07:12 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Rep:
|
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
|
|
|
10-14-2003, 07:27 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
10-14-2003, 07:27 PM
|
#3
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
Also just to note, it isn't showing the new drive and I am not sure why
|
|
|
10-14-2003, 07:28 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
What do you mean by isn't showing the new drive? Where are you looking? Have you created any partitions etc?
cheers
Jamie...
|
|
|
10-14-2003, 07:30 PM
|
#5
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
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
|
|
|
10-14-2003, 07:42 PM
|
#6
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
When ever I try and make a partition it seg faults and kicks me out of fdisk 
|
|
|
10-15-2003, 02:44 AM
|
#7
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
10-15-2003, 11:23 AM
|
#8
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
fdisk /dev/hdb
|
|
|
10-15-2003, 06:42 PM
|
#9
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
You are running that as root yeah?
cheers
Jamie...
|
|
|
10-15-2003, 06:43 PM
|
#10
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
heh, yea some one else has set this up, can i clean out the raid stuff and start it from scratch?
|
|
|
10-15-2003, 06:51 PM
|
#11
|
LQ Newbie
Registered: Oct 2003
Posts: 7
Original Poster
Rep:
|
Yes to the root question
|
|
|
10-15-2003, 06:57 PM
|
#12
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 08:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|