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?