Solved

Ubuntu Mirror (RAID-1) State: DEGRADED

Posted on 2013-11-14
5
814 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
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
PS - I can't figure out how to run Disk Utility as sudo.  Thanks again!
0
 
LVL 21

Expert Comment

by:Mazdajai
Comment Utility
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
Comment Utility
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Bellevue, WA, USA; Late December, 1980 "OK, folks, we nailed the IBM contract. We're going to have many meetings like this to discuss features and functions...and how to move from 86-DOS, the CP/M clone we just purchased, to our baby, MS-DOS. Thi…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now