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:
- Show the file /proc/mdstat .
root@server:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda2 sdb2
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.
- 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)
and restart mdadm
Was this answer helpful?
Example configuration In the following examples we assume that the following IPs are used: IP...
If you want to install an own image, for example to prepare your own partition set, you can do...
he old IPv4 protocol supports 4,3 billion addresses for the world wide web. IPv6 was developed by...
Our rescue system is compareable with Debian. Any basic Linux commands can be used. Activate...
Powered by WHMCompleteSolution