Bug#578352: closed by martin f krafft <madduck at debian.org> (Re: Bug#578352: mdadm: failed devices become spares!)
martin f krafft
madduck at debian.org
Tue Apr 20 12:30:56 UTC 2010
also sprach Pierre Vignéras <pierre at vigneras.name> [2010.04.20.1317 +0200]:
> Apr 12 20:10:02 phobos mdadm[3157]: Fail event detected on md device /dev/md2,
> component device /dev/sdf1
> Apr 12 20:11:02 phobos mdadm[3157]: SpareActive event detected on md device
> /dev/md2, component device /dev/sdf1
>
> And at that time I was neither logged in nor did I touch to
> that NFS server (neither the USB drives, nor the server itself). Actually,
> I discovered the problem the day after. So the first question is:
>
> is it normal that after a failure detected on /dev/sdf1 it becomes
> a spare (again if I understand the syslog message correctly)?
It seems like the drive goes offline and comes back, and then
I think it would be normal. Are there no kernel messages about this?
> what should I do to recover my data? You suggest to remove
> previous one. I don't get how:
>
> mdadm /dev/md2 --remove ?? (according to /proc/mdstat, /dev/sdf1
> and /dev/sdc1 are now spares).
Try
mdadm --remove /dev/md2 /dev/sdc1
mdadm --add /dev/md2 /dev/sdc1
mdadm --remove /dev/md2 /dev/sdf1
mdadm --add /dev/md2 /dev/sdf1
and post all the output.
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
la lune, c'est comme les canards
il faut aimer caresser les chats
pour avoir envie d'y aller.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20100420/71de36e5/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list