software raid- Swap lost [Solved]

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Sat May 16 10:24:50 UTC 2009


Franz Waldmüller:

> Thank you Markus for your advice my Swap is working again.
> This was a very quick help.
> If somebody has some nice RAID/mdadm documentation at hand I would
> appreciate a link.

man mdadm
and the software RAID HOWTO
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html
are worth reading.

> --> I would like to gain more knowledge and make sure that I will
> receive an email by mdadm if a device is not operating as it ought to.

Looking at the mdadm.conf you included your OP, you already have a mail
address configured where problem reports shall be sent.
When you installed mdadm a monitoring process should have been set up
automatically. Look for something like "/sbin/mdadm --monitor" in the
output of
ps -ef
if it really is running.

mdadm --monitor --test --scan
Should mail a status report for every RAID device found on the machine
(replace --scan with a device name if you don't want multiple mails).
This way you can check if the mailing of reports really does work.

-- 
Regards
  mks




More information about the ubuntu-users mailing list