When using a software RAID, it is necessary to check for proper functionality, since in case of failure, the redundancy is no longer provided by the RAID. An incomplete RAID should be completed and synchronized as soon as possible.

To perform a manual check, login to your server via SSH. You have two options to check the RAID state:

  1. Show the file /proc/mdstat .

    root@server:~# cat /proc/mdstat

    Personalities : [raid1]

    md0 : active raid1 sda2[0] sdb2[1]

    70337464 blocks super 1.2 [2/2] [UU]


    unused devices: <none>

    This shows which disks are in RAID (here: sda2 and sdb2). If a drive is not shown as "active" it is not part of the RAID anymore.

  2. Use the following command to get a detailed view of the RAID state.

    mdadm --detail /dev/md0

    (/dev/md0 may need to be replaced with the correct path to the device.)

 

You can also setup mdadm to send you a mail if any issue with the RAID occours. For this you will have to adapt /etc/mdadm/mdadm.conf . Add the following line (replace e-mail address)

MAILLADDR meine@adresse.tld

and restart mdadm

/etc/init.d/mdadm restart

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 How can I configure my virtual machines using hostroutes?

Example configuration In the following examples we assume that the following IPs are used: IP...

 How to work with the rescue system?

Our rescue system is compareable with Debian. Any basic Linux commands can be used. Activate...

 How to install an own operating system image without a hardware KVM over IP?

If you want to install an own image, for example to prepare your own partition set, you can do...

 IPv6 (Internet Protocol Version 6)

he old IPv4 protocol supports 4,3 billion addresses for the world wide web. IPv6 was developed by...

 Plesk

https://docs.plesk.com/en-US/12.5/