Solved

Ubuntu Mirror (RAID-1) State: DEGRADED

Posted on 2013-11-14
5
886 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 500 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

690 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