I think a drive is failing in my dedicated server. What do I do?

Drives fail the same way every time: quietly, then at the worst moment. Back up first, ask questions second.

Before you start

Back up anything you can't lose. Do that before you run any diagnostics, because tests read the disk heavily. You'll need root access and your Main IP.

Steps

  1. Look for signs. Check the system log for disk errors: sudo dmesg | grep -i -E 'i/o error|ata|nvme|sector'.
  2. Check SMART health. Install smartmontools if needed, then run sudo smartctl -a /dev/sda (use /dev/nvme0 for NVMe). Look for SMART overall-health self-assessment test result and for reallocated, pending, or uncorrectable sectors above zero.
  3. Check RAID status. For software RAID run cat /proc/mdstat. A U_ or _U means a member is missing.
  4. Copy your data off now if SMART or the logs show errors. Use rsync to another server.
  5. Open a ticket. Set Department to Technical Support. Include:

    • your Main IP
    • the drive device name
    • the output of smartctl -a and cat /proc/mdstat
    • the error lines from step 1
  6. Wait for our reply. We'll tell you whether the drive can be replaced on your server and what happens to your data.
  7. After any hardware work, check that everything is mounted and healthy: df -h and cat /proc/mdstat.

If it didn't work

  • If the server halts at boot for a file system check, let it finish. Don't power it off mid-check.
  • On clearance servers, we do not swap disks or other components. If yours is a clearance server, ask in the ticket about your options, such as moving to a standard configuration.
  • On managed servers, we monitor the hardware too and may contact you first. Reply to that ticket instead of opening a new one.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 0