Software RAID Status & Monitoring (Linux) - IONOS Help
Software RAID Status & Monitoring (Linux) - IONOS Help
Software RAID Status & Monitoring (Linux) - IONOS Help
Below is an example of the output if both disks are present and correctly RAID Monitoring
mounted:
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 sda3[1] sdb3[0]
262016 blocks [2/2] [UU]
The example shows three RAID arrays (md0, md1, md2). On the second line
for each device, the state of each partition is shown within square brackets at
the end. A U means that the respective device is up, or functional.
If a disk is down (not functioning), the output looks similar to the following:
cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sda1[1]
102208 blocks [2/1] [_U]
https://www.ionos.com/help/server-cloud-infrastructure/dedicated-server-for-servers-purchased-before-102818/rescue-and-recovery/software-raid… 1/4
4/30/2020 Software RAID Status & Monitoring (Linux) - IONOS Help
With only one disk up for each array, you can see that something is wrong
here. The sdb disk is not functioning.
/dev/md1:
Version : 0.90
Creation Time : Tue Sep 11 21:33:24 2012
Raid Level : raid1
Array Size : 4194240 (4.00 GiB 4.29 GB)
Used Dev Size : 4194240 (4.00 GiB 4.29 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
UUID : 2db35cef:bde058e8:1f51fb89:78ee93fe
Events : 0.251
/dev/md0:
Version : 00.90.00
Creation Time : Thu Aug 21 12:22:43 2003
Raid Level : raid1
Array Size : 102208 (99.81 MiB 104.66 MB)
https://www.ionos.com/help/server-cloud-infrastructure/dedicated-server-for-servers-purchased-before-102818/rescue-and-recovery/software-raid… 2/4
4/30/2020 Software RAID Status & Monitoring (Linux) - IONOS Help
RAID Monitoring
The mdadm utility can also be run as a demon. By adding an email address
to the /etc/mdadm.conf file, error messages will be sent to the address if
there is a disk failure.
MAILADDR [email protected]
Example:
Yes No
https://www.ionos.com/help/server-cloud-infrastructure/dedicated-server-for-servers-purchased-before-102818/rescue-and-recovery/software-raid… 4/4