Help needed! Raid 5 failure on a Debian System

Tags
filesystem

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 04-11-2013
Help needed! Raid 5 failure on a Debian System

Hello!

I have a 4-disc Raid 5 server running Open Media Vault (Debian). The other day, it disappeared from OMV, which was reporting 3 drives failed. Panic Stations. However, using MDADM I can get info from 3 of the drives which suggests they are functioning ok (info below). The remaining 4th drive doesn't give anything back via mdadm --examine. Any ideas how I can rebuild the drive without destroying the data? According to what I have read, as the three apparently working drives all have the same events number (103), it is fairly likely the data is intact on them - but how to I rebuild?

Thanks my lovelies!

Jon

/dev/sdf:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : dc344271:82f55bd0:fcfd0e16:a2a60bc8
Name : TTVServer:TTV2 (local to host TTVServer)
Creation Time : Mon Jan 7 11:03:39 2013
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 5860531120 (2794.52 GiB 3000.59 GB)
Array Size : 17581590528 (8383.56 GiB 9001.77 GB)
Used Dev Size : 5860530176 (2794.52 GiB 3000.59 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : c792c6b2:78fd4e78:e4f008ea:826e25e8

Update Time : Sat Apr 6 13:17:10 2013
Checksum : 30386dbe - correct
Events : 103

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 0
Array State : AAAA ('A' == active, '.' == missing)


/dev/sdg:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : dc344271:82f55bd0:fcfd0e16:a2a60bc8
Name : TTVServer:TTV2 (local to host TTVServer)
Creation Time : Mon Jan 7 11:03:39 2013
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 5860531120 (2794.52 GiB 3000.59 GB)
Array Size : 17581590528 (8383.56 GiB 9001.77 GB)
Used Dev Size : 5860530176 (2794.52 GiB 3000.59 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : c0426118:614cb315:15c9a0ee:2ad88e26

Update Time : Sat Apr 6 13:17:10 2013
Checksum : 7638ae70 - correct
Events : 103

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 1
Array State : AAAA ('A' == active, '.' == missing)



/dev/sdi:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : dc344271:82f55bd0:fcfd0e16:a2a60bc8
Name : TTVServer:TTV2 (local to host TTVServer)
Creation Time : Mon Jan 7 11:03:39 2013
Raid Level : raid5
Raid Devices : 4

Avail Dev Size : 5860531120 (2794.52 GiB 3000.59 GB)
Array Size : 17581590528 (8383.56 GiB 9001.77 GB)
Used Dev Size : 5860530176 (2794.52 GiB 3000.59 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : active
Device UUID : 8a96d5fe:594418b6:c63dafd0:c459e498

Update Time : Sat Apr 6 13:17:10 2013
Checksum : 5175f080 - correct
Events : 103

Layout : left-symmetric
Chunk Size : 512K

Device Role : Active device 2
Array State : AAAA ('A' == active, '.' == missing)
# 2  
Old 04-22-2013
Ok after some more reading, I tried this:

Quote:
mdadm --create /dev/md8 --verbose --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc missing
and got this:

Quote:
mdadm: layout defaults to left-symmetric
mdadm: chunk size defaults to 512K
mdadm: layout defaults to left-symmetric
mdadm: layout defaults to left-symmetric
mdadm: super1.x cannot open /dev/sda: Device or resource busy
mdadm: failed container membership check
mdadm: device /dev/sda not suitable for any style of array

aaaghhh!!!

---------- Post updated at 10:17 PM ---------- Previous update was at 10:13 PM ----------

also...

Quote:
$ sudo cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md8 : inactive sda[0] sdc[2] sdb[1]
8790796680 blocks super 1.2
---------- Post updated at 10:29 PM ---------- Previous update was at 10:17 PM ----------

also:

Quote:
$ sudo mdadm --detail /dev/md8
/dev/md8:
Version : 1.2
Creation Time : Mon Jan 7 11:03:39 2013
Raid Level : raid5
Used Dev Size : -1
Raid Devices : 4
Total Devices : 3
Persistence : Superblock is persistent

Update Time : Sat Apr 6 13:17:10 2013
State : active, degraded, Not Started
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 512K

Name : TTVServer:TTV2 (local to host TTVServer)
UUID : dc344271:82f55bd0:fcfd0e16:a2a60bc8
Events : 103

Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 16 1 active sync /dev/sdb
2 8 32 2 active sync /dev/sdc
3 0 0 3 removed
Login to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Similar Threads More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help needed on restart-from-point-of-failure in Parallel Processing saps19 Shell Programming and Scripting 4 04-12-2017 06:04 AM
RAID Configuration for IBM Serveraid-7k SCSI RAID Controller @dagio Red Hat 0 04-30-2013 10:11 AM
boot up failure unix sco after power failure fredthayer UNIX for Dummies Questions & Answers 11 03-29-2012 11:24 PM
Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS) Marcus Aurelius Debian 0 12-30-2011 03:54 PM
SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared filosophizer AIX 0 06-14-2011 03:20 PM
Needed: Sr. System Administrator Composite SW Advertise with Us 0 08-20-2010 08:33 PM
file system not getting mounted in read write mode after system power failure gtkpmbpl SCO 1 09-24-2009 01:57 PM
Contingency planning for System Failure Tirmazi Solaris 2 09-09-2009 05:47 AM
need sample system o/p RHEL/Debian krishnamurthig UNIX for Advanced & Expert Users 0 11-17-2008 04:48 AM
RAID controller needed for SVM? Landser Solaris 4 09-12-2008 12:49 PM
driver needed for hp smartarry p200i sas raid controller prakrithi SCO 3 07-04-2008 12:17 PM
Ultra60 and A1000....raid manager needed just to see it? Yinzer955i UNIX for Dummies Questions & Answers 3 08-24-2006 10:31 AM
help needed regarding Journaling File system deep UNIX for Dummies Questions & Answers 1 04-25-2005 12:37 PM
Raid control vs scsi for operating system macdonto UNIX for Dummies Questions & Answers 1 09-12-2001 05:05 PM
All times are GMT -4. The time now is 02:47 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?