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)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was trying to get a server using a raid controller card up and running. I could not get the card configured right so i just installed the system strait onto a scsi drive.
Questions?
Is is nescessary to have the operating system on raid? Pros/Cons
Is it really difficult to go back later... (1 Reply)
Discussion started by: macdonto
1 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
I was asked to setup an Ultra60 (Sol 8) with an StorEdge A1000. Does anyone know if a probe-scsi-all is suppose to detect it? Right now it doesn't, so maybe I answered my own question :rolleyes:
We have an the same setup running already, but I wasn't around when that was setup.
... (3 Replies)
Discussion started by: Yinzer955i
3 Replies
3. SCO
recently we have purchased hp proliant ml350 g5 server and configured raid 5 with hp smartarray p200i sas controller.but i could not found any sas raid controller hp smartarry p200i driver for sco unix 5.0.7 :(.i searched on hp support site,but no use.any one can help. (3 Replies)
Discussion started by: prakrithi
3 Replies
4. Solaris
hi
this may be a very stupid question, but im quite new to Solaris (gonna buid my first system, Solaris 10 on x86 system, connected to other windows systems in a home network)
i wanna put a RAID 5 system in there to back up my other systems at home; iv read that its really so easy with SVM to... (4 Replies)
Discussion started by: Landser
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
Could somebody sent me sample output of below commands on
1) Debian linux and 2) RHEL3 and 3) any RHEL version less than 3,
a) uname -a
b) cat /etc/issue
c) cat /etc/redhat-release or other equivalent file
Thanks in advance
- Krishna (0 Replies)
Discussion started by: krishnamurthig
0 Replies
6. Solaris
I have inhereted a Solaris 8 server which is running an important application in our production environment.
The dilema is that the server has just one internal hard drive I believe it was installed using jump start, it does not even have a CD ROM drive and root is not mirrored (since there is... (2 Replies)
Discussion started by: Tirmazi
2 Replies
7. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
8. AIX
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies
9. Debian
I am installing a Debian Server on a:
HP Proliant DL380 G4
Dual CPU's 3.20 ghz / 800 mhz / 1MB L2
5120 MB RAM
6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each)
I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies
10. Shell Programming and Scripting
Hi Gurus,
Good morning... :)
OS Info:
Linux 2.6.32-431.17.1.el6.x86_64 #1 SMP Fri Apr 11 17:27:00 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
I have a script which takes multiples parameters from a properties file one by one and run in background (to do parallel processing). As example:
$ cat... (4 Replies)
Discussion started by: saps19
4 Replies
LEARN ABOUT DEBIAN
term::size
Size(3pm) User Contributed Perl Documentation Size(3pm)
NAME
Term::Size - Retrieve terminal size (Unix version)
SYNOPSIS
use Term::Size;
($columns, $rows) = Term::Size::chars *STDOUT{IO};
($x, $y) = Term::Size::pixels;
DESCRIPTION
Term::Size is a Perl module which provides a straightforward way to retrieve the terminal size.
Both functions take an optional filehandle argument, which defaults to *STDIN{IO}. They both return a list of two values, which are the
current width and height, respectively, of the terminal associated with the specified filehandle.
"Term::Size::chars" returns the size in units of characters, whereas "Term::Size::pixels" uses units of pixels.
In a scalar context, both functions return the first element of the list, that is, the terminal width.
The functions may be imported.
If you need to pass a filehandle to either of the "Term::Size" functions, beware that the *STDOUT{IO} syntax is only supported in Perl
5.004 and later. If you have an earlier version of Perl, or are interested in backwards compatibility, use *STDOUT instead.
EXAMPLES
1. Refuse to run in a too narrow window.
use Term::Size;
die "Need 80 column screen" if Term::Size::chars *STDOUT{IO} < 80;
2. Track window size changes.
use Term::Size 'chars';
my $changed = 1;
while(1) {
local $SIG{'WINCH'} = sub { $changed = 1 };
if ($changed) {
($cols, $rows) = chars;
# Redraw, or whatever.
$changed = 0;
}
}
RETURN VALUES
Both functions return "undef" if there is an error.
If the terminal size information is not available, the functions will normally return "(0, 0)", but this depends on your system. On
character only terminals, "pixels" will normally return "(0, 0)".
BUGS
It only works on Unix systems.
AUTHOR
Tim Goodwin, <tim@uunet.pipex.com>, 1997-04-23.
Candidate for maintainership: Adriano Ferreira, <ferreira@cpan.org>, 2006-05-19.
perl v5.14.2 2012-03-04 Size(3pm)