Solved

How to replace hard drive on Ubuntu.

Posted on 2014-11-04
17
359 Views
Last Modified: 2015-05-04
Hello,

I have a linux box running off of Ubuntu 12.04.4. Its on a raid 5 configuration and 1 of my hard drives went bad. I replaced it with a new hd, but for some reason its not taking it.

Are there some commands I have to run to have the system accept the new hard drive?

ps. I'm new to linux so please try to keep the answers as simple as possible.

Thanks in advance.
0
Comment
Question by:intuitivesolutions
  • 5
  • 5
  • 2
  • +1
17 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40422519
>> but for some reason its not taking it
What do you mean by this? Do you get an error?

Can you share some details on which hardware you have, controller etc?
0
 
LVL 88

Expert Comment

by:rindi
ID: 40422623
Are you using the RAID controller for your array, or Linux software RAID?
0
 

Author Comment

by:intuitivesolutions
ID: 40422633
Hi, I believe the raid is on the HP P410 controller.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 88

Accepted Solution

by:
rindi earned 334 total points
ID: 40422661
If your controller is used,then Ubuntu has absolutely nothing to do with it. Just use the controller's utility (usually a short-cut key combination at bootup) to get into it's configuration.
0
 
LVL 37

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40422672
>> but for some reason its not taking it
What do you mean by this? Do you get an error?
0
 

Author Comment

by:intuitivesolutions
ID: 40422682
The light on the HD is still red.  I opend the server and check the lights on the controller and indicating a bad hard drive, but its a brand new HD
0
 
LVL 88

Expert Comment

by:rindi
ID: 40422688
As I said above, use the controller's utility at bootup to check it's state and recreate the array.
0
 

Author Comment

by:intuitivesolutions
ID: 40422697
Wouldn't I loss my data, if I recreate the array?
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 40422707
Not if you do it properly. You probably just have an option to add the new disk to the array, and then it should rebuild, or on some controllers, you assign it as a hot spare, and then it should also rebuild. You just have to make sure you don't select the wrong disk, and maybe check on the controller's manual.
0
 

Author Comment

by:intuitivesolutions
ID: 40422765
Ok I will try that tonight. Thank You
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 166 total points
ID: 40423979
Either you need HP driver installed  in system or bless disk replacement in BIOS/Smart Array diagnostics.
btw Ubuntu is supported by HP
0
 

Author Comment

by:intuitivesolutions
ID: 40738929
I've requested that this question be deleted for the following reason:

h
0
 
LVL 88

Expert Comment

by:rindi
ID: 40738930
There is no valid reason to delete the Question.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40739494
Ive summarized non-destructive options...
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

The Samsung SSD 840 EVO and 840 EVO mSATA have a well-known problem with a drop in read performance. I first learned about this in an interesting thread here at Experts Exchange: http://www.experts-exchange.com/Hardware/Storage/Hard_Drives/Q_2852…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

821 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