# How do I check the RAID 1 status of a dedicated server?

> Check RAID 1 status with cat /proc/mdstat and mdadm --detail: [UU] is healthy, [U_] is degraded. Every machine has 2 NVMe drives from $83.69.

- URL: https://cryptodedicated.com/guides/how-to-check-raid-1-status/
- Last updated: 2026-11-30
- Publisher: CryptoDedicated (https://cryptodedicated.com)

How to check RAID 1 status on a Linux dedicated server with mdadm, read the result, get alerted when a drive drops, and what to do next.

**Quick answer — How do I check the RAID 1 status of a dedicated server?**

Run `cat /proc/mdstat`: [UU] means both mirror halves are active, [U_] means one drive dropped out. Then `mdadm --detail /dev/md0` gives the state, failed members and rebuild progress. Every **CryptoDedicated** machine ships with 2 NVMe drives in software RAID 1, from $83.69 per 30 days, paid in crypto such as Monero.

**In brief**

- **Quick look**: `cat /proc/mdstat`, one line per array, [UU] for healthy, [U_] or [_U] for degraded.
- **Full report**: `mdadm --detail /dev/mdX` shows State, Active Devices, Failed Devices and each member.
- **Drive health**: `smartctl -a /dev/nvme0n1` reads wear, media errors and temperature for each NVMe.
- **Alerts**: port 25 is closed, so point mdadm's PROGRAM hook at a script instead of local mail.
- **RAID is not a backup**: a mirror copies deletions and ransomware too; keep copies off the machine.

## How do I read the output of /proc/mdstat?

**The bracket at the end of each array line is the verdict: one letter per member, U for up, underscore for missing.**

*Common /proc/mdstat states for a two-drive RAID 1 array, their meaning and the action to take*

| What the line shows | Meaning | Action |
| --- | --- | --- |
| [2/2] [UU] | Both members active, mirror healthy | None |
| [2/1] [U_] | Degraded: second member missing or failed | Run mdadm --detail and smartctl, then contact support |
| (F) after a member name | Member marked faulty by the kernel | Remove it from the array before any replacement |
| recovery = 37.5% | Rebuild onto a new or re-added member | Wait; avoid heavy writes until it ends |
| resync = 12.0% | Halves being made identical after an unclean stop | Wait; normal after a crash or hard reboot |
| check = 80.1% | Scheduled consistency scrub | None; read mismatch_cnt when it ends |

## Which commands check the mirror end to end?

1. **List the arrays** — cat /proc/mdstat prints every md device, its RAID level, its members and the [UU] bracket.
2. **Read the detailed state** — mdadm --detail /dev/md0 (and md1, md2 if present) should show State : clean and Failed Devices : 0.
3. **Check both NVMe drives** — Install smartmontools and run smartctl -a on nvme0n1 and nvme1n1; look at Percentage Used, Media and Data Integrity Errors, and Critical Warning.
4. **Run a scrub** — Write check to /sys/block/md0/md/sync_action, follow it in /proc/mdstat, then read mismatch_cnt; 0 is the expected value.
5. **Wire up alerts** — Add a PROGRAM line to mdadm.conf pointing at a script, then test it with mdadm --monitor --scan --oneshot --test.

*Status, drive health, scrub and an alert hook (Debian and Ubuntu paths)*

```bash
cat /proc/mdstat
mdadm --detail /dev/md0
lsblk -o NAME,SIZE,TYPE,MOUNTPOINT

apt install -y smartmontools
smartctl -a /dev/nvme0n1 | grep -E 'Critical Warning|Percentage Used|Media and Data Integrity Errors|Temperature:'
smartctl -a /dev/nvme1n1 | grep -E 'Critical Warning|Percentage Used|Media and Data Integrity Errors|Temperature:'

echo check > /sys/block/md0/md/sync_action
cat /sys/block/md0/md/mismatch_cnt

# alert hook: mdadm runs the script with the event name and the device
echo 'PROGRAM /usr/local/bin/raid-alert' >> /etc/mdadm/mdadm.conf
systemctl restart mdmonitor
mdadm --monitor --scan --oneshot --test
```

## What should I do when the array shows [U_]?

**Stop writing large amounts of data, take a fresh backup of what matters, then send support the outputs of `mdadm --detail` and `smartctl -a` for both drives.** A degraded mirror still serves every file, but one more failure loses the machine's data.

After the faulty drive is replaced, the new one is empty. The usual sequence copies the partition table from the healthy drive and adds the new partitions back:

- `sfdisk -d /dev/nvme0n1 | sfdisk /dev/nvme1n1`
- `mdadm --manage /dev/md0 --add /dev/nvme1n1p2` for each array
- reinstall the boot loader on the new drive so either one can start the system

If the hardware cannot be repaired, the paid days the machine was unusable are credited back to the balance, under the [refund rules](https://cryptodedicated.com/refunds/ "CryptoDedicated refund policy").

## Why send RAID alerts to a script instead of email?

**Because outbound port 25 is closed on every CryptoDedicated machine, so the default MAILADDR line of mdadm cannot deliver anything.** The PROGRAM line runs any executable with the event name (Fail, DegradedArray, SpareActive…) and the device as arguments.

A three-line script can post that to a chat webhook with `curl`, or send mail through an outside provider on port 587 with a tool such as msmtp. Test it once with `--test`, which fires a TestMessage event for every array. The same alerting habit helps the [restic backup guide](https://cryptodedicated.com/guides/how-to-back-up-a-dedicated-server-with-restic/ "Back up a dedicated server with restic"): a failed nightly job should reach a human.

## Is RAID 1 enough to protect the data on a dedicated server?

**No: RAID 1 keeps the machine running through one drive failure, but it copies every mistake to both drives at once.** A deleted directory, a corrupted database or encrypted files are mirrored within milliseconds.

CryptoDedicated sells daily backups kept 7 days as an option, and any customer can run their own off-site copies. The difference between hardware types is explained in [what is a bare metal server](https://cryptodedicated.com/what-is-a-bare-metal-server/ "What is a bare metal server?"). According to CryptoDedicated's survey of 30 October 2026, the price comparison covered 229 dedicated plans from 18 hosts. Each of the five CryptoDedicated plans carries two identical NVMe drives.

## Frequently asked questions

### How often should I check RAID status?

Let mdadm's monitor watch it continuously and alert on events. A manual look with cat /proc/mdstat after each reboot is a cheap extra check.

### Is a RAID 0 or two-separate-disk layout available?

Yes, if asked before delivery. Support can also deliver two separate drives, for ZFS or for two independent file systems.

### Does a scrub slow the server down?

Slightly, on disk-heavy workloads. The kernel limits the scrub speed through /proc/sys/dev/raid/speed_limit_min and speed_limit_max.

### Is the RAID on CryptoDedicated hardware or software?

Software RAID 1 with Linux mdadm on two identical NVMe drives. It is visible and manageable from the system with the commands on this page.

**Verdict**

- **`cat /proc/mdstat` plus `mdadm --detail` answer the RAID question in seconds**; [UU] is the only state to accept.
- **Add a PROGRAM alert hook and a monthly scrub**, because port 25 mail will never leave the machine.
- **Treat the mirror as uptime, not backup**: keep a restic or provider backup on top.

## Sources

1. [mdadm(8)](https://man7.org/linux/man-pages/man8/mdadm.8.html) — Linux man-pages (read 2026-11-30)
2. [mdadm.conf(5)](https://man7.org/linux/man-pages/man5/mdadm.conf.5.html) — Linux man-pages (read 2026-11-30)
3. [RAID administration (md)](https://docs.kernel.org/admin-guide/md.html) — The Linux kernel documentation (read 2026-11-30)
4. [smartctl(8)](https://www.smartmontools.org/browser/trunk/smartmontools/smartctl.8.in) — smartmontools (read 2026-11-30)

**Two NVMe drives in RAID 1 on every plan** Ryzen 9700X, 2 × 1 TB NVMe in RAID 1, 64 GB DDR5: $154.54 per 30 days. [Order the Ryzen 9700X — $154.54](https://cryptodedicated.com/app/checkout/?plan=ryzen-9700x&from=guides-how-to-check-raid-1-status&lang=en)

---

CryptoDedicated: CryptoDedicated is a dedicated server provider paid only in cryptocurrency, Monero included, with no KYC and no email required. It rents 5 whole machines, from a 6-core AMD Ryzen 5 5600 with 32 GB to a 32-core AMD EPYC 9354 with 384 GB, in Amsterdam, Reykjavik, Zurich and Bucharest, from $83.69 per 30 days. Each machine is handed over within one hour of payment confirmation. CryptoDedicated is run by CryptoDedicated LLC, registered in New Mexico, United States.
