Re: Raid 5 array down/missing - went through wiki steps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 30.10.2017 um 19:08 schrieb Jun-Kai Teoh:
Thanks for all the responses, Mark, Anthony and Wol.

I have another hard drive on the way, just in case sda is truly dead.
I had no idea that when a drive "dies" in a RAID5 array - nothing
would notify me

on a proper distribution you have mdmon running which sends a mail when a drive fails - see below - the problem is that you never tested the behavior what happens when you plug out a disk before place data on the array, doing so you would have found out how to make sure you get notifies

-------- Weitergeleitete Nachricht --------
Betreff: Fail event on /dev/md0:srv-rhsoft.rhsoft.net
Datum: Wed,  3 Dec 2014 11:32:35 +0100 (CET)
Von: mdadm monitoring <root@xxxxxxxxxxxxxxxxxxxxx>
An: root@xxxxxxxxxxxxxxxxxxxxx

This is an automatically generated mail message from mdadm
running on srv-rhsoft.rhsoft.net

A Fail event had been detected on md device /dev/md0.

It could be related to component device /dev/sdb1.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [raid1] [raid10] md2 : active raid10 sda3[4] sdc3[5] sdd3[0] sdb3[3]
      3875222528 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 1/29 pages [4KB], 65536KB chunk

md1 : active raid10 sda2[4] sdc2[5] sdb2[3] sdd2[0]
      30716928 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md0 : active raid1 sda1[4] sdb1[3](F) sdd1[0] sdc1[5]
      511988 blocks super 1.0 [4/3] [UUU_]
      unused devices: <none>
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux