Solved

How to replace hard drive on Ubuntu.

Posted on 2014-11-04
17
351 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
Comment Utility
>> 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 87

Expert Comment

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

Author Comment

by:intuitivesolutions
Comment Utility
Hi, I believe the raid is on the HP P410 controller.
0
 
LVL 87

Accepted Solution

by:
rindi earned 334 total points
Comment Utility
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
Comment Utility
>> but for some reason its not taking it
What do you mean by this? Do you get an error?
0
 

Author Comment

by:intuitivesolutions
Comment Utility
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 87

Expert Comment

by:rindi
Comment Utility
As I said above, use the controller's utility at bootup to check it's state and recreate the array.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:intuitivesolutions
Comment Utility
Wouldn't I loss my data, if I recreate the array?
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 334 total points
Comment Utility
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
Comment Utility
Ok I will try that tonight. Thank You
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 166 total points
Comment Utility
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
Comment Utility
I've requested that this question be deleted for the following reason:

h
0
 
LVL 87

Expert Comment

by:rindi
Comment Utility
There is no valid reason to delete the Question.
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Ive summarized non-destructive options...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now