LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-13-2014, 11:54 AM   #1
rami77
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Rep: Reputation: 0
CentOS not booting after RAID1 rebuild


Dears, I hope I could find an solution for my problem in here.
I had a server with 2 hard drives, mirrored (RAID1).
You can see the attached pictures for physical and logical RAID setup.

One of the hard drives crashed and I replaced it and after booting the server I got an error "UNEXPECTED INCONSISTENCY..." (see attached picture)...

Is there anything I can do to get my data back.

Note: When I logged in for maintenance, I couldn't see me data.
Attached Thumbnails
Click image for larger version

Name:	image001 (1).png
Views:	17
Size:	10.5 KB
ID:	14486   Click image for larger version

Name:	image002.png
Views:	17
Size:	7.5 KB
ID:	14487   Click image for larger version

Name:	image003.jpg
Views:	30
Size:	38.6 KB
ID:	14488  
 
Old 01-13-2014, 04:30 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
What's the HW make/model: HP by any chance?
 
Old 01-13-2014, 11:19 PM   #3
rami77
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, it is HP. If needed, I will get back to you with exact details.


HP ProLiant DL380 G7
HP Smart Array P410i Controller

Last edited by rami77; 01-13-2014 at 11:29 PM. Reason: update hardware info
 
Old 01-14-2014, 10:01 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You should have a support ctc with HP.
Also, try installing the correct PSP (product support pack); these supply a bunch of utils that can see the HW array components eg have a look at hpacucli tool.
eg http://www.digitalinux.com/2013/07/h...-commands.html
Check if that model has hot-swappable disks (heck, check the disk model...)
 
Old 01-15-2014, 01:04 AM   #5
rami77
LQ Newbie
 
Registered: Oct 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Dear Chris,
Thanks for your reply. I guess the hardware is working fine. As u can see from the controller GUI attached in my earlier post, The volume is working fine. I'm just guessing that the problem is in the Drives Identifiers in CentOS. Seems that CentOS is still having the old drive ID somewhere. I don't know where or how to read or configure RAID in CentOS
 
Old 01-15-2014, 02:21 AM   #6
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
As I see, RAID1 is hardware raid and it's failure/repare dos not related to your error.
From my experience with HP hardware RAID, you can replace disk online and controller
will take care about.

Your screenshot is common for server went down without proper shutdown.
Do as suggested on screen itself: Give it root password to enter in maintenance mode
and run fsck on mentioned device.
Be accurate with answers. Usually it is "y", but not more than 3-5 times.
If you got a lot of errors, break fsck with Ctrl-C, mount problematic FS as read-only and make backup of it's content.
 
  


Reply



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
Rebuild RAID1 with LVM bit_head Linux - Hardware 1 12-28-2013 12:42 PM
RAID1 array rebuild fails at 99.9% recovery apomatix Linux - Hardware 3 06-06-2008 06:30 AM
Recover/Rebuild SW Raid1? FoxNotch Linux - General 1 07-11-2004 10:04 AM
How to rebuild raid1 on RedHat 9.0 galaxyms Linux - Software 0 10-23-2003 09:38 AM
Soft RAID1 (mirror) rebuild GAVollink Linux - Hardware 4 04-25-2003 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:42 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