LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2014, 04:57 AM   #1
asimk1903
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Rep: Reputation: Disabled
Degraded Array


Hi

I am very new to linux. I recently go a HP Proliant N54L and installed Openmediavault on it. I have got two segate hard drives and have set them up as raid 1. Since setting up raid 1 have been getting following notifications

This is an automatically generated mail message from mdadm
running on FINGROWSERVER

A DegradedArray event had been detected on md device /dev/md126.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [raid1]
md126 : active (auto-read-only) raid1 sdc[1]
2930265424 blocks super 1.2 [2/1] [_U]

md127 : active raid1 sdb[0]
2930265424 blocks super 1.2 [2/1] [U_]

unused devices: <none>

I dont beleive that there is any problem with the disk as these are new. Can someone please help. Really appreciate some help with this.

Regards

asim1903
 
Old 09-21-2014, 07:22 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
As /proc/mdstat clearly shows, the md driver seems to think that you now have two RAID 1 arrays, /dev/md127 and /dev/md126, each with one working and one failed drive.

I assume both drives are supposed to belong to the same array? In that case, delete /dev/md126, erase the metadata from /dev/sdc1, and add it back to /dev/md127.
 
Old 09-21-2014, 07:26 AM   #3
asimk1903
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Ser Olmy

Thanks a lot for your reply. I am really not sure how do I do this. Can you please provide some instructions on how to achieve this.

Really appreciate your help.

Regards

Asim

---------- Post added 09-21-14 at 10:27 PM ----------

Hi Ser Olmy

Thanks a lot for your reply. I am really not sure how do I do this. Can you please provide some instructions on how to achieve this.

Really appreciate your help.

Regards

Asim
 
Old 09-21-2014, 07:53 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
I'm not familiar with OpenMediaVault, but I would expect it to have a GUI where you can do stuff like deleting arrays and adding spare drives to existing arrays.

How did you configure the RAID 1 array in the first place?
 
Old 09-21-2014, 08:28 AM   #5
asimk1903
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi

Unfortunately with the GUI, I am unable to delete the raid. Will need to use command line to fix this. Is it possible to do this from command line.

Regards

Asim
 
Old 09-21-2014, 09:30 AM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Assuming /dev/md126 is the array you want to delete, this command will stop the array and release /dev/sdc:
Code:
mdadm --misc --stop /dev/md126
To make sure the md driver doesn't recreate the unwanted array, delete the superblock on /dev/sdc with:
Code:
mdadm --misc --zero-superblock /dev/sdc
Depending on how the distribution is configured, you may have to run these commands via sudo.

You should then be able to add /dev/sdc to the remaining array from the GUI.
 
1 members found this post helpful.
Old 09-22-2014, 08:04 AM   #7
asimk1903
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Ser Olmy


Thanks a lot for your help. That solved the problem.

Regards

Asim
 
  


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
Degraded RAID5 array ejthurgo Linux - Server 3 11-20-2013 12:30 PM
Raid 1 Array Degraded reveal Linux - Hardware 3 11-04-2013 10:59 AM
dirty degraded md raid array edgjerp Linux - Hardware 1 01-07-2009 01:51 PM
Degraded Array on Software Raid pcinfo-az Linux - Hardware 8 07-03-2008 10:43 AM
RAID 1 Degraded Array gsoft Debian 2 08-18-2006 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

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