Skip to main content
Support
0
Contact us
Nederlands
Deutsch
Español
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareers
Cloud Compute

With Cloud Compute, you have access anytime and anywhere to a portal through which you can configure your entire IT environment from wherever you are in the world.

Cloud Storage

Reliable access to your files, infrastructure, and applications at all times – with no interruptions or delays. At Worldstream, we offer a variety of storage solutions.

Flexible cloud icon
Flexible cloud
Private cloud icon
Private cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Object storage
Hollow cube icon
File storage
Block storage icon
Block storage
Backup storage icon
Backup storage
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

All Servers

Choose your Dedicated Server now. Custom or Instant Delivery. Powerhouse servers built for your use case.

Use Cases

Whatever your use case, we’re here to help you find the ideal solution.

Deal servers icon
Deals
AMD servers icon
AMD Processors
AI servers icon
Intel Processors
Hollow cube icon
Virtualisation, Containerisation and Orchestration
Hollow cube icon
Websites and Applications
Hollow cube icon
Gaming and Streaming Infrastructure

24/7/365 support with an average response time of just 7 minutes. Thanks to our own data centers, our engineers can go directly to your server for fast, hands-on assistance. Email or call us anytime.

Smart outsourcing

Some IT creates added value, while other types are supportive. Use that as a starting point for outsourcing.

Cost Efficiency

Complete IT packages may seem like the safe option, but when you consider the costs, other choices often make more sense.

IT flexibility & control

Outsourcing doesn’t mean losing control; it actually provides more flexibility and control.

Cloud repatriation

The cloud is not a final destination: You should continuously evaluate and adjust your cloud environment as needs evolve.

Financial services
Logistics & Transportation
Retail & E-commerce
Media & Entertainment
Tech & Software Development
Security
Managed Service Providers
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

Chat with usContact us
About WorldstreamAbout the technologyCasesKnowledge base
About usMeet the teamJobsBecome a resellerCertificationsOur data centersOur networkDDoS ProtectionAMD EPYC serversTechnology PartnersOperating SystemsAll casesEasyTerraDutch Drone CompanyPerfGridArticlesFAQNews and BlogsProducts and Services
Contact us

Call +31 (0) 174 – 712 117

Industriestraat 53, Naaldwijk

Nederlands
Deutsch
Español
0
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareersAbout WorldstreamAbout the technologyCasesKnowledge baseMy Worldstream
Contact
Support
NederlandsDeutschEspañol
  1. HomeHome
  2. Knowledge Base
  3. Dedicated Servers
  4. How to recognise a bad drive in Linux

How to recognise a bad drive in Linux

Applies to Dedicated servers (Linux)Audience Server administratorsLast reviewed September 2026

Quick answer

Check a drive's health with two tools: hdparm to benchmark read speed against the expected range for that drive type, and smartmontools (smartctl) to read its SMART attributes. Consistently low speeds or failing SMART values point to a drive that needs a closer look. NVMe drives use their own commands, covered at the end.

On this page
  • Identify your drives
  • Test disk speed
  • Check disk status (SMART)
  • Check for ATA errors
  • NVMe drives

The commands in the first four sections cover SATA drives, both spinning disks and SSDs. You compare read speed against the typical range for that drive type, then inspect the drive's SMART attributes. NVMe drives report health differently and need their own commands, covered in the last section. Use the results to decide whether a disk needs assessing.

Identify your drives

Use the lsblk command to list the drives in your system:

lsblk

Depending on your disk layout, this shows the available drives, for example sda, sdb, sdc and sdd.

Test disk speed

Benchmark disk speed with hdparm. Install it first:

# Ubuntu / Debian
apt-get install -y hdparm

# AlmaLinux / Rocky Linux
yum install -y hdparm

hdparm is Linux-only, it relies on Linux-specific ATA/SCSI ioctls and isn't packaged for FreeBSD. On FreeBSD, use camcontrol or diskinfo instead for the equivalent checks.

Then run hdparm against the drive you want to test, for example:

hdparm -t /dev/sda

For more reliable results:

  • Run the test on an inactive system, ideally after a reboot, so a minimal amount of system resources are in use.
  • Run the command two or three times and take the average of the results.
TypeTypical minimumTypical maximum
HDD150 MB/sec250 MB/sec
SATA SSD400 MB/sec500 MB/sec
Enterprise SSD500 MB/sec550 MB/sec

These are generic, industry-typical ranges for the drive class, not Worldstream-specific benchmarks. They apply to SATA drives only, see NVMe drives for why hdparm figures mean nothing on NVMe.

Actual speeds vary with your specific configuration. Contact support to check whether the speed you're seeing is normal for your setup, and include the test output when you do.

Check disk status (SMART)

Use smartmontools to read a drive's S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) data. Install it first:

# Ubuntu / Debian
apt-get install -y smartmontools

# AlmaLinux / Rocky Linux
yum install -y smartmontools

# FreeBSD
pkg install -y smartmontools

The examples below use /dev/sdb; replace this with the drive you're checking.

1

Check basic drive information

smartctl -i /dev/sdb
2

Enable SMART support if it's disabled

smartctl -s on /dev/sdb
3

Run a short self-test

smartctl -t short /dev/sdb

This takes about one to two minutes to complete.

4

Read the self-test result

smartctl -l selftest /dev/sdb
5

Check the SMART attributes

smartctl -A /dev/sdb

Focus on the values below:

AttributeDescriptionExpected value
SMART overall-healthThe drive's general health according to the manufacturer's own standard.PASSED
Reallocated_Sector_CtNumber of sectors already reallocated on the disk.0
Current_Pending_SectorNumber of sectors awaiting reallocation.0
Reported_UncorrectNumber of uncorrectable errors reported to the disk's SMART controller.0

Any value above 0 on the three counters warrants investigation, even a single one: it means the drive returned or nearly returned data it could not correct. If any of these values is outside the expected range, open a support ticket with the smartctl output so the disk can be assessed.

Check for ATA errors

SMART attributes don't cover ATA-level errors. Check the kernel log for those instead:

dmesg | grep -i ata

NVMe drives

NVMe drives need different commands throughout. They are not ATA devices, so lsblk lists them as nvme0n1 rather than sda, and the SMART attributes above (Reallocated_Sector_Ct, Current_Pending_Sector, Reported_Uncorrect) do not exist on them.

hdparm -t also understates NVMe badly. It measures buffered sequential reads one request at a time, which is nowhere near what an NVMe drive delivers in parallel, so a healthy drive will look like it fails. Treat any hdparm figure on NVMe as a comparison against that same drive's earlier results, never as a pass or fail. For a real throughput measurement, use fio with several jobs and a queue depth above 1.

Read NVMe health from the controller device:

smartctl -a /dev/nvme0
FieldDescriptionExpected value
Critical WarningController-level warning flags, for example read-only mode or overheating.0x00
Available SpareRemaining spare capacity, as a percentage.Well above the drive's own Available Spare Threshold
Percentage UsedVendor estimate of write endurance consumed. It can exceed 100 without immediate failure, but the drive is past its rated life.Well below 100
Media and Data Integrity ErrorsUnrecovered data integrity errors.0

Kernel-level NVMe errors show up under a different tag than ATA ones:

dmesg | grep -i nvme

As with SATA drives, open a support ticket with the smartctl output if anything looks wrong.

Related articles

  • Monitoring
  • How to start a reinstallation
Was this article helpful?

Solid IT. No Surprises

Sparring partner for IT maturity
Eliminating barriers so you can run
Predictable and transparant costs

Contact

  • Industriestraat 53, Naaldwijk
  • Payment Methods
  • Abuse
  • Developers Resources
  • Network Operations Center
  • About us
  • Meet the team
  • Jobs
  • Become a reseller
  • Certifications
  • Our data centers
  • Our network
  • DDoS Protection
  • AMD EPYC servers
  • Technology Partners
  • Operating Systems
  • Overview
  • FAQ
  • Cases
  • News & Blogs
  • Use Cases
Nederlands
Deutsch
Español
Nederlands
Deutsch
Español
  • Legal
  • Disclosure