Solved

CentOS 6 - Remove Drive from RAID

Posted on 2012-03-14
5
458 Views
Last Modified: 2016-12-08
We have a server built last June that has 2 Crucial SSD drives in RAID 1.

In recent months we've been having errors to the point that the server is no longer operational. The errors appeared to be from defective drives, but Crucial support informed me today that their drives are not equipped for RAID and do not support it.

Their advice was to split the drives out of RAID and use one or both, but not in RAID. They said that after a while the GC & Trim would catch up and the drives should at least be stable (though without the mirroring).

I tried following their advice to disconnect one drive, and to toggle the BIOS RAID to SATA, but now when CentOS 6 boots I see the splash screen, then a Kernel Panic alert "attempted to kill init".

I tried booting from CD into rescue, but because the SSD still has RAID meta data rescue ignores it.

What's the best way to take the drives out of RAID 1 without losing the data on the drives?

How do I get CentOS to recognize the drive(s) in the new configuration?
0
Comment
Question by:RKFcomputers
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:Jan Springer
ID: 37724918
Hardware or software RAID?
0
 

Author Comment

by:RKFcomputers
ID: 37725369
Hardware - using the motherboard's chipset.
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 37725540
With hardware RAID (depending upon the controller card) I use software tools (run at the unix command line) to add or delete disks from an array.  My favorite is MegaRAID's MegaCLI.  If this is compatible with your controller, use this.   There are others out there should it not work for you.
0
 

Accepted Solution

by:
RKFcomputers earned 0 total points
ID: 37806351
Turns out it isn't possible to remove a drive while preserving the data. We had to copy the data to another drive.
0
 

Author Closing Comment

by:RKFcomputers
ID: 37822709
No viable solution provided
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn about cloud computing and its benefits for small business owners.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 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