HostSlim

How do I check the RAID and disk health of my server?

Software RAID (mdadm) cat /proc/mdstat sudo mdadm --detail /dev/md0 [UU] means both disks are fine; [U_] means one disk is missing or failed. Disk health…

  • Dedicated Servers

Software RAID (mdadm)

cat /proc/mdstat
sudo mdadm --detail /dev/md0

[UU] means both disks are fine; [U_] means one disk is missing or failed.

Disk health (SMART)

sudo apt install smartmontools
sudo smartctl -a /dev/sda

Look at Reallocated_Sector_Ct, Current_Pending_Sector and the overall health status. For NVMe drives use sudo smartctl -a /dev/nvme0.

See errors or a degraded array? Make a backup immediately and open a ticket with the output of these commands (see What happens if hardware in my dedicated server fails?).

More from the knowledge base

Need something that is not on the list?

Custom builds, private VLANs, BGP sessions, multi-rack deployments. Tell us what you are running and an engineer replies, usually within the hour.