Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ubuntu Mirror (RAID-1) State: DEGRADED

Posted on 2013-11-14
5
Medium Priority
?
926 Views
Last Modified: 2013-11-15
Hey Guys,

I have a virtual machine server I put together a few years ago and I had some trouble with it today and the RAID-1 is showing "DEGRADED".  

The OS is Ubuntu 10.04 and I've got 2 500GB SATA drives in a RAID-1 software RAID.  In "Disk Utility" it looks like this (picture is worth 1000 words):
Pg1Pg2Pg3Pg4In case it helps "watch -n3 cat /proc/mdstat"
Anyway - this morning I was getting a bunch of delayed write errors on the Windows VM's that are running on it and I rebooted it via ssh (I'm not local to the box).  After the reboot I couldn't get SSH so I had a local user connect a monitor to it and it said something about disk errors and we told it to check and fix (I don't know what the exact language was).  

So now it's back up and running but it seems sluggish and the raid is showing as degraded.    

I tried using the "Check Array" button to check and repair but I get a "Permission Denied" error.  

Looking at the SMART status (Disk has a few bad sectors with a green light) I'm assuming that the disks are OK - is that a bad assumption?  

What can I do to fix the DEGRADED status?  

Thanks for your help!

:)
0
Comment
Question by:ttist25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 2000 total points
ID: 39650186
Looking at the SMART status (Disk has a few bad sectors with a green light) I'm assuming that the disks are OK - is that a bad assumption?  

"Delayed write errors" are unreadable sectors, it is possible the number can increase or you may never see them again.

I don't think it is possible to clear the DEGRADED because Raid check the SMART status, in order to do that you will need to clear the SMART values which is built-in onto the hard drive. It is green because the bad sectors have been marked by the OS not usable.

This is an indication that your hard drive is failing and I highly recommend you to replace the hard drives before DATA LOSS occur.

Are you root when you trying to check the array?
0
 
LVL 1

Author Comment

by:ttist25
ID: 39650204
Hi Mazdajai,

Thanks for the response!  I'm definitely going to replace the drives in this box.  In fact I'd like to load it up with ProxMox (something I found after I built this one).  

Thanks for your help.
0
 
LVL 1

Author Closing Comment

by:ttist25
ID: 39650208
PS - I can't figure out how to run Disk Utility as sudo.  Thanks again!
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39650222
I can't stress how important SMART values is, please do not ignore them!

If you are using version 12 and above, I think you can call the the disk utility in terminal  -

sudo gnome-disks

Open in new window

0
 
LVL 1

Author Comment

by:ttist25
ID: 39651000
Gotcha.  Again, this box is a target for an upgrade anyway so I will definitely move forward with the replacement.  Fortunately the VM's are used only to connect to an MIS system at a remote site and no data is stored on them.  I would like to avoid any downtime though so replacement will be high on the priority list.  

Thanks again for all of your help Mazdajai.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
A look at what happened in the Verizon cloud breach.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Suggested Courses

610 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