Re: Extraordinaire !! (Re: Plantage)

Pàgina inicial

Reply to this message
Autor: Xavier Bestel
Data:  
A: Frédéric
CC: guilde
Assumpte: Re: Extraordinaire !! (Re: Plantage)
On Mon, 2007-09-03 at 09:51 +0200, Xavier Bestel wrote:
> On Mon, 2007-09-03 at 09:42 +0200, Xavier Bestel wrote:
> > > Ce week-end, une machine du boulot a vautré bien comme il faut, et j'aimerais
> > > comprendre pourquoi. On a rebooté la machine le matin, à 10h37...
>
> Tu peux m'en dire plus sur cette machine, notamment quels sont les
> disques présents sur ton RAID, quelle version de debian, etc ?


Bon, c'est pas si extraordinaire que ça en fait:

[root@awak:~]$ cat /etc/cron.d/mdadm
#
# cron.d/mdadm -- schedules periodic redundancy checks of MD devices
#
# Copyright © martin f. krafft <madduck@???>
# distributed under the terms of the Artistic Licence 2.0
#
# $Id: mdadm.cron.d 147 2006-08-30 09:26:11Z madduck $
#

# By default, run at 01:06 on every Sunday, but do nothing unless the day of
# the month is less than or equal to 7. Thus, only run on the first Sunday of
# each month. crontab(5) sucks, unfortunately, in this regard; therefore this
# hack (see #380425).
6 1 * * 0 root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet

C'est le "/usr/share/mdadm/checkarray --cron --all --quiet" qui est
responsable.

Du coup, si j'étais toi je virerais effectivement hda pour le remplacer
par un neuf.

    Xav