Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a home server with Ubuntu Server 10.04 LTS installed. The server has 5 x HDD - 1 x 80GB for the OS, and 4 x 1TB configured into software RAID 5.

About few weeks ago during boot-up, I was alerted to the fact that one of the 1TB disks has a bad SMART status; looks like it's time to replace one of the 1TB disks. The server still worked fine, just that every time the server boots up I get reminded that I need to replace the disk. Recently as I tried to turn on the server, this error comes up:

/dev/sda2: clean, 570369/4644864 files, 2029517/18561024 blocks
The disk drive for /home is not ready yet or not present
Continue to wait; or Press S to skip mounting or M for manual recovery

I booted into a Live CD to have a look at the array, but it looks like the RAID is not running. When I try to start the RAID array, I get an error message saying "Not enough components available to start the RAID array". The 80GB OS drive appears to be healthy and in a working state, but one of the 1TB drive is about to fail with a red SMART error status and 2 others have a few bad sectors but the SMART status is still green.

I played around a little and I tried to force assemble the array without the drive with the SMART error but it said something about 'missing superblock'. That's about as far as I got before I decided not to muck around with it anymore and ask for help. What should my next step be? Is it possible to recover the array?

share|improve this question
    
Please provide the output of sudo mdadm --examine /dev/sd* (long output post on paste.ubuntu.com for example and link here) and include per drive (sda, sdb, etc.) the SMART data. We need a lot more information like this to have your question answered. However, if you have already one drive failed in a RAID5 you really cannot get another failure. If you have the exact same disks with the same manufacturing date then you have a high chance another drive will fail soon.. –  gertvdijk Jul 6 '13 at 16:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.