Unix/Linux Go Back    


Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

Help needed! Raid 5 failure on a Debian System

Filesystems, Disks and Memory


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-11-2013   -   Original Discussion by jonlisty
jonlisty's Unix or Linux Image
jonlisty jonlisty is offline
Registered User
 
Join Date: Apr 2013
Last Activity: 23 April 2013, 5:27 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Sponsored Links
    #2  
Old Unix and Linux 04-22-2013   -   Original Discussion by jonlisty
jonlisty's Unix or Linux Image
jonlisty jonlisty is offline
Registered User
 
Join Date: Apr 2013
Last Activity: 23 April 2013, 5:27 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS) Marcus Aurelius Debian 0 12-30-2011 03:54 PM
file system not getting mounted in read write mode after system power failure gtkpmbpl SCO 1 09-24-2009 01:57 PM
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



All times are GMT -4. The time now is 08:48 PM.