Solved

Ubuntu Mirror (RAID-1) State: DEGRADED

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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

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

Suggested Solutions

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

912 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

20 Experts available now in Live!

Get 1:1 Help Now